From 58f124e4fc166d079cae24d4c144d1cc5ecd1ebb Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 16 Apr 2018 15:32:40 +0900 Subject: :v: --- webpack.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'webpack.config.ts') 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 => { -- cgit v1.2.3-freya