gobblejs / gobble

The last build tool you'll ever need
333 stars 20 forks source link

Fix sourcemap comments to be used on file transformers with CSS output #116

Closed IvanSanchez closed 8 years ago

IvanSanchez commented 8 years ago

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.

IvanSanchez commented 8 years ago

@Rich-Harris I'll leave the npm publish magic up to you.

IvanSanchez commented 8 years ago

@TrySound This has been rebased against master.

TrySound commented 8 years ago

Cool, thanks!