hylia
hylia copied to clipboard
Sass sourcemaps
Is there anyway to see the sass sourcemap while in development via dev tools?
I don't see why not!
I have had a look into this.. the source maps are generated by default. I have been able to get sourcemap to work IF:
- include the /*# sourceMappingURL=global.css.map */ just before .
- copy the global.css.map into the dist folder.
The global.css file actually has the sourceMappingURL in it, however, the {% include "assets/css/global.css" %} does not include it..... or it gets taken out at some other stage...
Will continue to investigate...
I think the best thing to get this working is to serve up the global.css output file in development and then inline it in production tbh.