diff --git a/webpack.config.js b/webpack.config.js index e0b082e08f58abdfee4977a7029cec5f613463b2..3a3b37b16846d744a25fe4cd347db33bfa8679cc 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -131,7 +131,10 @@ const config = { }, { test: /\.worker\.js$/, - use: { loader: "worker-loader" } + loader: "worker-loader", + options: { + name: "assets/js/[name]-[hash].js" + } }, { test: /\.js$/,