@import url('') deleted when minifying
emoc11 opened this issue · 4 comments
Hi !
CleanCss made a hot update 4.0.0 that change the configuration...
For external @import to work you need to pass the configuration inline: ['none']
or inline: false
or inline: ['local']
So... We must have this configuration in your package too, to pass it to cleanCss after !
Is it possible to do this soon ?
Thanks !
@emoc11 so this package uses clean-css@4.2.1 which is the most current release.
You should be able to pass the option here. Does passing the option not work as expected?
It seems not i'm afraid...
Since 4.0 we can configure inline: false
in cleanCss to be sure that it do nothing to @import but my @import url("")
are still removed when i build with gulp-clean-css.. !
If i only do my sass() task my @import are still there, it's only when i use gulp-clean-css, so i believe it's because of the cleanCss's configuration update, but maybe it's elsewhere..
I hope you can find this :) ! Thanks for the package ;)
@emoc11 I was unable to track this down and am closing due to staleness. I have made various subsequent changes that may resolve your issue if you try to update. If the issue persists, please re-open a new issue with as much detail as possible and I'll help you look into it. Thanks!
I have exactly the same problem as described by the author.