SASS: How to remove /*# sourceMappingURL Comment

前端 未结 1 2228
情深已故
情深已故 2021-02-20 14:58

I\'m starting SASS watch from Windows command line. And FireFox developer Toolbar (with Show Sources) to see the .scss files.

Everything works fine, but I realized my fi

相关标签:
1条回答
  • 2021-02-20 15:34

    What you're seeing is the sourcemap, which maps CSS classes in the compiled CSS to the individual SASS files. As of SASS 3.4, sourcemaps are enabled by default. To disable them, use the --sourcemap=none and that line will no longer be added nor will a sourcemap be generated.

    Your command will look something like this:

    sass --watch --sourcemap=none path/to/sass:path/to/css
    
    0 讨论(0)
提交回复
热议问题