summaryrefslogtreecommitdiff
path: root/webpack.config.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-11-03 17:04:33 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-11-03 17:04:33 +0900
commit42a08642a4c4b356d15cedf87b5c788c1fa47f91 (patch)
treea4c976ccb7213b2f391ed96c29d3e8103c7f1896 /webpack.config.ts
parent[Client] Fix some charts (diff)
downloadsharkey-42a08642a4c4b356d15cedf87b5c788c1fa47f91.tar.gz
sharkey-42a08642a4c4b356d15cedf87b5c788c1fa47f91.tar.bz2
sharkey-42a08642a4c4b356d15cedf87b5c788c1fa47f91.zip
Misskeyのバージョンもクライアントの環境変数に突っ込むように
Diffstat (limited to 'webpack.config.ts')
-rw-r--r--webpack.config.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack.config.ts b/webpack.config.ts
index 05101b9de3..9f2416bde6 100644
--- a/webpack.config.ts
+++ b/webpack.config.ts
@@ -70,7 +70,8 @@ const output = {
const consts = {
_THEME_COLOR_: constants.themeColor,
_COPYRIGHT_: constants.copyright,
- _VERSION_: version,
+ _VERSION_: meta.version,
+ _CLIENT_VERSION_: version,
_CODENAME_: codename,
_LANG_: '%lang%',
_LANGS_: Object.keys(locales).map(l => [l, locales[l].meta.lang]),