-
-
Notifications
You must be signed in to change notification settings - Fork 188
add postcss-url to adjust ﹫import(ed) url() ? #57
add postcss-url to adjust ﹫import(ed) url() ? #57
Comments
It's a complement to postcss-import that would fix url of assets (rebase according to from & to option). |
👍 as the |
fyi, postcss-url has been update to work with postcss 4.x, see #55 |
By doing that, we are making a step to assets management. We should be careful. Do we enable that by default? |
Please just make this work for the default case and workflow of npm / webpack / etc. The current hell I am in:
|
Are you making node_modules accessible to your http server? |
The default should be this:
So:
Now, consider another example where
Result:
Does any of this not make sense? |
I don't know what you mean |
@MoOx Just to be clear this is a deal-breaker for our webpack pipeline right now. As far as I can tell there's no workaround. Maybe if I fuss enough with the webpack config I'd get something working. Do let me know what other people are doing if you know. |
The immediate workaround is to use postcss-loader with cssnext as a plugin in addition to postcss-url. |
This seems to be hard to get right with slightly-random slightly-obscure documentation in various projects coupled with completely unhelpful error messages. I think taking a crack at #55 (comment) will be more fruitful. |
Closed by d011ec6 |
IMHO, no and thanks to add it in cssnext 👍 |
I think it would be nice to add postcss-url in cssnext.
What do you think about that ?
The text was updated successfully, but these errors were encountered: