SCSS file watcher for .css.map

Hi,
I have scss files (.scss, .css, .css.map) all in one folder.
I want to keep these files as following:
css/abcd.css
map/abcd.css.map
scss/abcd.css

1 comment
Comment actions Permalink

SASS compiler doesn't support placing sourcemaps in a separate folder, they are always saved next to .css files. See https://sass-lang.com/documentation/cli/dart-sass#options for available options.

 

To generate both .css and .map files in css folder, try configuring file watcher as follows:

Arguments: $FileName$:$ProjectFileDir$/css/$FileNameWithoutExtension$.css

Output paths to Refresh: $ProjectFileDir$/css/$FileNameWithoutExtension$.css:$ProjectFileDir$/css/$FileNameWithoutExtension$.css.map

 

0

Please sign in to leave a comment.