unic / estatico-nou

Static site generator for frontend engineers
https://unic.com
13 stars 6 forks source link

feat(estatico-sass): add custom importer for CSS files #93

Closed backflip closed 5 years ago

backflip commented 5 years ago

This will fix the DEPRECATION WARNING Including .css files with @import is non-standard behaviour which will be removed in future versions of LibSass. Use a custom importer to maintain this behaviour. Check your implementations documentation on how to create a custom importer.

Instead of using the external plugin mentioned in https://github.com/unic/estatico-nou/issues/45, I went for a solution where we don't have to add a CSS: prefix to the import.

backflip commented 5 years ago

Replaced with https://github.com/unic/estatico-nou/pull/94