File Watcher - Stop Generating .Map file

Answered

When I create a new style sheet (SCSS) it will always generate a "file.css.map" file. How do I stop it from autogenerating this?

 

http://imgur.com/MuNSXPo 

0
4 comments
Avatar
Vladimir Luchansky

Hello,

Please attach a screenshot of a file watcher configuration from File | Settings (or PhpStorm | Preferences for Mac) | Tools | File Watchers with all the arguments.

0

SCSS compiler now produces sourcemaps by default. To turn them off, you need passing --sourcemap=none to it

 

0

Elena Pogorelova ,

very very very thank you

your solution work fine

 

best regards

0

For those who are looking for a solution for PyCharm 2023.1.4, the correct flag is --no-source-map

0

Please sign in to leave a comment.