Andy-set-studio / hylia

Hylia is a lightweight Eleventy starter kit to help you to create your own blog or personal website.
https://hylia.website
MIT License
905 stars 230 forks source link

Sass sourcemaps #100

Open djmtype opened 4 years ago

djmtype commented 4 years ago

Is there anyway to see the sass sourcemap while in development via dev tools?

Andy-set-studio commented 4 years ago

I don't see why not!

JamesForan commented 4 years ago

I have had a look into this.. the source maps are generated by default. I have been able to get sourcemap to work IF:

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...

Andy-set-studio commented 4 years ago

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.