summaryrefslogtreecommitdiff
path: root/webpack.config.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-16 15:32:40 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-16 15:32:40 +0900
commit58f124e4fc166d079cae24d4c144d1cc5ecd1ebb (patch)
treebd5074998ce7a3bd2341a8810564cf9006b000a0 /webpack.config.ts
parentv4933 (diff)
downloadsharkey-58f124e4fc166d079cae24d4c144d1cc5ecd1ebb.tar.gz
sharkey-58f124e4fc166d079cae24d4c144d1cc5ecd1ebb.tar.bz2
sharkey-58f124e4fc166d079cae24d4c144d1cc5ecd1ebb.zip
:v:
Diffstat (limited to 'webpack.config.ts')
-rw-r--r--webpack.config.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/webpack.config.ts b/webpack.config.ts
index bc876e067d..50e28972ac 100644
--- a/webpack.config.ts
+++ b/webpack.config.ts
@@ -40,8 +40,12 @@ global['base64replacement'] = (_, key) => {
const langs = Object.keys(locales);
+// 無圧縮スクリプトを用意するのは重いので一時的に無効化
+//const entries = process.env.NODE_ENV == 'production'
+// ? langs.map(l => [l, false]).concat(langs.map(l => [l, true]))
+// : langs.map(l => [l, false]);
const entries = process.env.NODE_ENV == 'production'
- ? langs.map(l => [l, false]).concat(langs.map(l => [l, true]))
+ ? langs.map(l => [l, true])
: langs.map(l => [l, false]);
module.exports = entries.map(x => {