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
Error when using inline:['all'] for imports #45
Comments
At first glance this appears to be an issue with clean-css itself as I can see it bubbling up from the lib in the stack trace and not from the wrapper. Have you checked out the Important: 4.0 breaking changes migration docs? I haven't used remote imports a lot but it makes mention of the following...
To be honest, I'm not sure what implications this may have - but perhaps this is a starting point? |
yeah, it's problem with clean-css, it's happening when multiple files are processed - https://github.com/jakubpawlowicz/clean-css#how-to-optimize-multiple-files if the @import is passed as string it works, I have opened issue on clean-css -clean-css/clean-css#966 |
@scniro This was fixed in https://github.com/jakubpawlowicz/clean-css/releases/tag/v4.1.8 can you update the dependency to 4.1.8? Thanks! |
Done! 3.8.0 is published. |
I got token[0] error, when using inline:['all'] option, I'm trying to inline process @import url(https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css);
Is this problem with clean-css or gulp-clean-css? I have gulp-clean-css@3.7.0, clean-css@4.1.7 versions and node.js 6.11.2
I was used to that clean css processed imports automatically, but since the clean-css version 4.0 it was changed and I can't get it working
Error:
The text was updated successfully, but these errors were encountered: