Skip to content

added a parameter to transform URLs without adding assets to webpack pip... #25

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

Closed
wants to merge 1 commit into from

Conversation

bestander
Copy link

...eline

Hi, I understand that it may be not the webpack way but this is what I am using in my current project.

The use case is when you have resources referred from css file: url(my-image) and you just want to deploy them to a CDN (task outside of webpack concern) and change the resulting CSS to url(http://my-cdn/hash/path/my-image).

I wonder if this may be useful to others.

@jhnns
Copy link
Member

jhnns commented Dec 1, 2014

Thx for the pull-request. But I guess this should be done on webpack level since there might be more use-cases where you don't want webpack to touch any dependencies. @sokra What's the "webpack-way" to do this?

@sokra sokra closed this May 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants