webpack/examples/web-worker/webpack.config.js

16 lines
374 B
JavaScript
Raw Normal View History

var webpack = require("../../");
2013-01-31 10:25:20 +08:00
module.exports = {
plugins: [
new webpack.LoaderOptionsPlugin({
options: {
worker: {
output: {
filename: "hash.worker.js",
chunkFilename: "[id].hash.worker.js"
}
}
}
})
]
}