Skip to content

Conversation

@martaver
Copy link
Contributor

@martaver martaver commented Aug 4, 2016

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Bug fix

  • What is the current behavior? (You can also link to an open issue here)

Currently, when a background url(...) statement is used in CSS, webpack tries to incorrectly process the file reference as javascript. This causes a build error.

  • What is the new behavior (if this is a feature change)?

Adding a file-loader to handle jpg/png/gif files fixes this.

  • Other information:

Added use of file-loader for jpg/png/gif files. This adds support for using background url() statements in CSS files, as per #759

Added use of file-loader for jpg/png/gif files. This adds support for using background url() statements in CSS files, as per AngularClass#759
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.

2 participants