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 #94

Open backflip opened 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.

While being at it, I had to fix most tests since they broke after an update to fancy-log

CLAassistant commented 5 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

:white_check_mark: backflip
:white_check_mark: orioltf
:x: Christian Sany


Christian Sany seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.