diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-09-08 23:19:11 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-09-08 23:19:11 +0900 |
| commit | 6a45bb21c384e722b0c67b0c65608cc62ae62b6a (patch) | |
| tree | c428d7e7ba50732bd880d4048f99fd4935a6196a /webpack.config.ts | |
| parent | Show ai image in welcome page (diff) | |
| download | sharkey-6a45bb21c384e722b0c67b0c65608cc62ae62b6a.tar.gz sharkey-6a45bb21c384e722b0c67b0c65608cc62ae62b6a.tar.bz2 sharkey-6a45bb21c384e722b0c67b0c65608cc62ae62b6a.zip | |
#2668 の一部をRevert
Diffstat (limited to 'webpack.config.ts')
| -rw-r--r-- | webpack.config.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/webpack.config.ts b/webpack.config.ts index bc1c0ddbcf..a50d6c40cc 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -22,7 +22,6 @@ const locales = require('./locales'); const meta = require('./package.json'); const version = `${meta.clientVersion}-${rndstr({ length: 8, chars: '0-9a-z' })}`; const codename = meta.codename; -import config from './src/config'; declare var global: { faReplacement: typeof faReplacement; @@ -76,8 +75,7 @@ const consts = { _CODENAME_: codename, _LANG_: '%lang%', _LANGS_: Object.keys(locales).map(l => [l, locales[l].meta.lang]), - _ENV_: process.env.NODE_ENV, - _NAME_: config.name + _ENV_: process.env.NODE_ENV }; const _consts: { [ key: string ]: any } = {}; |