forked from michaljaz/webmc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebpack.dev.js
More file actions
37 lines (34 loc) · 713 Bytes
/
webpack.dev.js
File metadata and controls
37 lines (34 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Generated by CoffeeScript 2.5.1
(function() {
var buildPath;
buildPath = `${__dirname}/public`;
module.exports = function(env) {
return {
mode: "development",
entry: './js/index.js',
output: {
path: buildPath,
filename: 'bundle.js'
},
performance: {
maxEntrypointSize: 1.5e6,
maxAssetSize: 1.5e6
},
stats: {
modules: false
},
devtool: 'source-map',
module: {
rules: [
{
loader: "worker-loader",
test: /\.worker\.js$/,
options: {
filename: "[contenthash].js"
}
}
]
}
};
};
}).call(this);