css-loader is incompatible with file-loader@^1.0.0

Created on 27 Jul 2017  路  3Comments  路  Source: webpack-contrib/css-loader

css-loader is rewriting url('./relative-path') entries by using require('./relative-path'); however, file-loader now produces ES modules. This causes the url's contents to _actually_ become [object Object] at runtime.

See https://github.com/webpack-contrib/file-loader/issues/181.

3 (required) 3 (broken) Refactor

Most helpful comment

Just got autoupdated to file-loader 1.1.0 and have to revert because of this incompatibility. Please fix soon.

All 3 comments

Just got autoupdated to file-loader 1.1.0 and have to revert because of this incompatibility. Please fix soon.

file-loader 1.1.4 fixed the issue.

@sgehrman yep, thanks

Was this page helpful?
0 / 5 - 0 ratings