diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-12 07:12:58 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-12 07:12:58 +0900 |
| commit | fbc801d1dadfdc0d38298e153facbb34f70af13c (patch) | |
| tree | fc6041f8bedcd24bb94411219d5b172e35758320 /webpack.config.ts | |
| parent | :art: (diff) | |
| download | sharkey-fbc801d1dadfdc0d38298e153facbb34f70af13c.tar.gz sharkey-fbc801d1dadfdc0d38298e153facbb34f70af13c.tar.bz2 sharkey-fbc801d1dadfdc0d38298e153facbb34f70af13c.zip | |
言語切り替え
Diffstat (limited to 'webpack.config.ts')
| -rw-r--r-- | webpack.config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webpack.config.ts b/webpack.config.ts index bec2093d57..df04767ebe 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -124,7 +124,7 @@ module.exports = { }), new webpack.DefinePlugin({ _VERSION_: JSON.stringify(meta.version), - _LANGS_: JSON.stringify(Object.entries(locales).map(([k, v]: [string, any]) => [k, v && v.meta && v.meta.lang])), + _LANGS_: JSON.stringify(Object.entries(locales).map(([k, v]: [string, any]) => [k, v._lang_])), _ENV_: JSON.stringify(process.env.NODE_ENV) }), new VueLoaderPlugin(), |