-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(estatico-sass): add custom importer for CSS files #94
base: develop
Are you sure you want to change the base?
Conversation
[Chore] Fixed failing tests
…unic#61) * [Chore] estatico-boilerplate: Optimized global client-side namespace * [Chore] estatico-boilerplate: Changed module class name
…ing in boilerplate, refactored styles accordingly
Enable Stylelint
* [Change] estatico-boilerplate: Removed jQuery * [Chore] estatico-qunit/estatico-svgsprite: Rewrote client-side code to remove ES2015 features * [Fix] estatico-boilerplate: Added missing polyfills for IE11 * [Change] estatico-eslint: Added default config, added babel-eslint as parser
… estatico-stylelint config accordingly
Jest: Add puppeteer launch args for CI
- @unic/[email protected] - @unic/[email protected] - @unic/[email protected] - @unic/[email protected] - @unic/[email protected] - @unic/[email protected] - @unic/[email protected] - @unic/[email protected]
- @unic/[email protected] - @unic/[email protected]
- @unic/[email protected] - @unic/[email protected]
- @unic/[email protected] - @unic/[email protected]
- @unic/[email protected] - @unic/[email protected]
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. |
@@ -6,7 +6,7 @@ | |||
|
|||
|
|||
// Reset / normalize styles | |||
@import "../../../node_modules/normalize.css/normalize"; | |||
@import "../../../node_modules/normalize.css/normalize.css"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The importer only works for files ending with .css
@@ -263,10 +262,6 @@ gulp.task('css', () => { | |||
'./src/', | |||
'./src/assets/css/', | |||
], | |||
importer: [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved the JSON importer to the task so we don't need it in the boilerplate.
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 #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