aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-22 17:18:25 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-22 17:18:25 +0200
commit361463a2ff10bd3e536e34ee816b397c23dca6f7 (patch)
tree740748ba74505bfbd7f96a2355b0dbc17bae2d32 /webpack.config.js
parent1f9ca30a9116018ae77c70730536032c8785116d (diff)
wasm
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js
index c19b3addc..f0c2a16ce 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -47,14 +47,17 @@ module.exports = function (env) {
const configWebWorker = {
entry: {"cryptoWorker": "./src/crypto/cryptoWorker.ts"},
target: "webworker",
+ name: "webworker",
};
const configBackground = {
entry: {"background": "./src/webex/background.ts"},
+ name: "background",
};
const configContentScript = {
entry: {"contentScript": "./src/webex/notify.ts"},
+ name: "contentScript",
};
const configExtensionPages = {
@@ -75,6 +78,7 @@ module.exports = function (env) {
"tip": "./src/webex/pages/tip.tsx",
"tree": "./src/webex/pages/tree.tsx",
},
+ name: "pages",
optimization: {
splitChunks: {
name: "page-common",