wip
This commit is contained in:
parent
b47fd29535
commit
ca60469262
17 changed files with 716 additions and 647 deletions
|
@ -11,11 +11,11 @@ const isProduction = env === 'production';
|
|||
export default (version, lang) => {
|
||||
const plugins = [
|
||||
consts(lang),
|
||||
new StringReplacePlugin(),
|
||||
hoist()
|
||||
new StringReplacePlugin()
|
||||
];
|
||||
|
||||
if (isProduction) {
|
||||
plugins.push(hoist());
|
||||
plugins.push(minify());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue