diff --git a/webpack.config.js b/webpack.config.js index f196398f..3088428f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -254,7 +254,15 @@ module.exports = { }, { test: /\.(gif|png|jpe?g|svg)$/i, - use: "file-loader" + use: [ + { + loader: "file-loader", + options: { + name: '[contenthash].[ext]', + esModule: false + } + } + ] }, { test: /\.js$/,