Skip to content
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

Update webpack.common.js #830

Merged
merged 1 commit into from
Aug 7, 2016
Merged

Update webpack.common.js #830

merged 1 commit into from
Aug 7, 2016

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