#2668 の一部をRevert

This commit is contained in:
syuilo 2018-09-08 23:19:11 +09:00
parent 5d4e9aa949
commit 6a45bb21c3
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
3 changed files with 3 additions and 7 deletions

View file

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