summaryrefslogtreecommitdiff
path: root/webpack/plugins/const.ts
diff options
context:
space:
mode:
authorこぴなたみぽ <Syuilotan@yahoo.co.jp>2017-11-06 19:14:04 +0900
committerGitHub <noreply@github.com>2017-11-06 19:14:04 +0900
commit9b7edcefb991f9c463b330cc7f87d99f9a357196 (patch)
tree0f4451044edf5d265e84adfc13c4c3f013ffb007 /webpack/plugins/const.ts
parentchore(package): update @types/body-parser to version 1.16.7 (diff)
parentMerge pull request #875 from syuilo/greenkeeper/@types/gulp-util-3.0.33 (diff)
downloadmisskey-9b7edcefb991f9c463b330cc7f87d99f9a357196.tar.gz
misskey-9b7edcefb991f9c463b330cc7f87d99f9a357196.tar.bz2
misskey-9b7edcefb991f9c463b330cc7f87d99f9a357196.zip
Merge branch 'master' into greenkeeper/@types/body-parser-1.16.7
Diffstat (limited to 'webpack/plugins/const.ts')
-rw-r--r--webpack/plugins/const.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack/plugins/const.ts b/webpack/plugins/const.ts
index ccfcb45260..f64160b01a 100644
--- a/webpack/plugins/const.ts
+++ b/webpack/plugins/const.ts
@@ -7,7 +7,8 @@ import * as webpack from 'webpack';
import version from '../../src/version';
const constants = require('../../src/const.json');
-export default () => new webpack.DefinePlugin({
+export default lang => new webpack.DefinePlugin({
VERSION: JSON.stringify(version),
+ LANG: JSON.stringify(lang),
THEME_COLOR: JSON.stringify(constants.themeColor)
});