This fixes a case where a file transformer (namely, gobble-sass-all) takes .sass files as input and .css files as output - the code was (wrongly) assuming that the input file extension decides which sourcemap comment style to use. In other words: my CSS files were being written a javascript-style sourcemap comment.
This fixes a case where a file transformer (namely,
gobble-sass-all
) takes.sass
files as input and.css
files as output - the code was (wrongly) assuming that the input file extension decides which sourcemap comment style to use. In other words: my CSS files were being written a javascript-style sourcemap comment.