diff options
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 } = {}; |