[Client] set lang
This commit is contained in:
parent
0ff0107cb8
commit
97f0b29d4a
4 changed files with 10 additions and 4 deletions
|
@ -8,9 +8,9 @@ import banner from './banner';
|
|||
const env = process.env.NODE_ENV;
|
||||
const isProduction = env === 'production';
|
||||
|
||||
export default version => {
|
||||
export default (version, lang) => {
|
||||
const plugins = [
|
||||
constant(),
|
||||
constant(lang),
|
||||
new StringReplacePlugin(),
|
||||
hoist()
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue