You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many node-based source-to-source trans-compilers, there is an option to specify custom output filename-with-path.
In CoffeeScript the --output switch takes target folder, meaning you cannot specify custom filename! We are facing a hard time with it in editor extension. Can you please add a condition:
if(fs.lstatSync(custom_target_filename_with_custom_path_and_custom_extension).isDirectory())// continue with current logicelseif(fs.existsSync(custom_target_filename_with_custom_path_and_custom_extension))// use path.basename(custom_target) and// PLEASE "custom_target + .map" for map filename// (do not change extension for .map, just append it)
Considering that Less, Sass (node-sass), LiveScript and SweetJS, all produce targetName.TargetExtension.map. Less and Sass: target.css.map and LiveScript, TypeScript and SweetJs target.js.map.
So please follow the conventions or at least give us sufficient options so we can configure output file names.
To recapitulate, the compiler should:
Accept custom path with custom extension for target file.
Accept custom path for map file.
Produce map file with double extension: myCoffee.js.map
The text was updated successfully, but these errors were encountered:
In many node-based source-to-source trans-compilers, there is an option to specify custom output filename-with-path.
In CoffeeScript the
--output
switch takes target folder, meaning you cannot specify custom filename! We are facing a hard time with it in editor extension. Can you please add a condition:Considering that Less, Sass (node-sass), LiveScript and SweetJS, all produce
targetName.TargetExtension.map
. Less and Sass:target.css.map
and LiveScript, TypeScript and SweetJstarget.js.map
.So please follow the conventions or at least give us sufficient options so we can configure output file names.
To recapitulate, the compiler should:
myCoffee.js.map
The text was updated successfully, but these errors were encountered: