diff --git a/src/webpack/config/dev.config.js b/src/webpack/config/dev.config.js index 7f9fdc9..36acf2f 100644 --- a/src/webpack/config/dev.config.js +++ b/src/webpack/config/dev.config.js @@ -51,8 +51,6 @@ module.exports = merge([ test: /\.(png|svg|jpg|gif)$/, exclude: config.get('commonExcludes'), use: [ - {loader: 'file-loader', options: {name: '[name].[ext]'}}, - {loader: 'img-loader'}, { loader: 'url-loader', options: { @@ -60,6 +58,12 @@ module.exports = merge([ name: '[name].[ext]', }, }, + { + loader: 'file-loader', + options: { + name: '[name].[ext]', + }, + }, ], }, ],