Skip to content

Ignore images for loading #35

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
grydstedt opened this issue Jan 15, 2015 · 3 comments
Closed

Ignore images for loading #35

grydstedt opened this issue Jan 15, 2015 · 3 comments

Comments

@grydstedt
Copy link

Is there a way I can tell the loader not to resolve a url to images in a url()

Would like:
background-image: url('../img/some-image.gif');
to output the same thing:
background-image: url('../img/some-image.gif');

@sokra
Copy link
Member

sokra commented Jan 15, 2015

no, but you can use the raw-loader instead of the css-loader.

@grydstedt
Copy link
Author

Thanks

koistya pushed a commit to koistya/css-loader that referenced this issue Nov 19, 2015
@unlocomqx
Copy link

This worked for me css-loader?url=false
webpack-contrib/mini-css-extract-plugin#156 (comment)

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

No branches or pull requests

3 participants