-
Notifications
You must be signed in to change notification settings - Fork 322
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
Prevent remote URL rebase #679
Comments
Bringing some more information about my problem. I have a remote stylesheet @ imported (and I intent to include the content of this stylesheet), and it contains remote resource definitions. These resources get rebased. How can I prevent that? |
is it any similar to https:/jakubpawlowicz/clean-css/blob/master/test/protocol-imports-test.js#L181? What version of clean-css are you running? |
I seem to have a similar problem: We have an CSS file like this:
But the rebase seems to go wrong as the output is Is this the desired functionality? |
👍 |
Did you tried "--skip-rebase" flag ? It's not a perfect solution but may help for now. |
Setting rebase to false when using the API resolves the issue for me, but is obviously less than ideal. |
I'm using the last stable version, 3.4.5. The option I think options like |
@bassarisse @JeroenVanOort could you please share a short CSS snippet which replicates this bug? I'm struggling with replicating this issue. |
3.4.5(current version)
3.4.1
|
Changes from 3.4.1 to 3.4.5 I think to do around here is suspicious. (unconfident) |
I can see it now. Fix is coming soon! |
There was an edge case when a remote stylesheet pointed to a URL in a different domain. Introduced in #667.
Fixed in 3.4.6. Thanks everyone for your help! |
Thank you! |
Thank you so much! |
is this already in the npm package pool? I updated gulp-minify-css which uses this packge, but the source seems to stay at 3.4.4 - sorry to ask here, I am not deeply involved into npm package dependency thing, just a user of node tool, but need this fix. What should I do? Thanks! |
ok, I just deleted all the node modules and did a new |
I tried this command. (doesn't affect other package)
I have understood as "deeply update" is not recommended because large influence. |
Hi!
Is there a way to prevent remote URL from being rebased? I can't figure that out on the docs.
I'm not referring to @ imports (the
processImportFrom
option would be enough), but normal resource definition (for images, etc.).Prevent this:
From turning something like this:
Maybe I'm missing some information here...
Thanks!
The text was updated successfully, but these errors were encountered: