diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-30 22:16:04 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-30 22:16:04 +0900 |
| commit | ae36bf301af4c8dffd0543e9cd45f8d4a0dbd18b (patch) | |
| tree | c9b10d65d71bdb97e2bbc263a2767f9f812ceb1e /webpack.config.ts | |
| parent | Merge pull request #2502 from acid-chicken/patch-autogen (diff) | |
| parent | 8.16.0 (diff) | |
| download | sharkey-ae36bf301af4c8dffd0543e9cd45f8d4a0dbd18b.tar.gz sharkey-ae36bf301af4c8dffd0543e9cd45f8d4a0dbd18b.tar.bz2 sharkey-ae36bf301af4c8dffd0543e9cd45f8d4a0dbd18b.zip | |
Merge branch 'develop'
Diffstat (limited to 'webpack.config.ts')
| -rw-r--r-- | webpack.config.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack.config.ts b/webpack.config.ts index 1e295c245d..e520c59a92 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -73,7 +73,8 @@ const consts = { _VERSION_: version, _CODENAME_: codename, _LANG_: '%lang%', - _LANGS_: Object.keys(locales).map(l => [l, locales[l].meta.lang]) + _LANGS_: Object.keys(locales).map(l => [l, locales[l].meta.lang]), + _ENV_: process.env.NODE_ENV }; const _consts: { [ key: string ]: any } = {}; |