We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9879466 commit f523b17Copy full SHA for f523b17
1 file changed
examples/web-worker/webpack.config.js
@@ -1,8 +1,15 @@
1
+var webpack = require("../../");
2
module.exports = {
- worker: {
3
- output: {
4
- filename: "hash.worker.js",
5
- chunkFilename: "[id].hash.worker.js"
6
- }
7
8
-}
+ plugins: [
+ new webpack.LoaderOptionsPlugin({
+ options: {
+ worker: {
+ output: {
+ filename: "hash.worker.js",
9
+ chunkFilename: "[id].hash.worker.js"
10
+ }
11
12
13
+ })
14
+ ]
15
+}
0 commit comments