MAKE COMPRESSION GREAT AGAIN
This commit is contained in:
parent
55df52fb04
commit
6bac17917e
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ const StringReplacePlugin = require('string-replace-webpack-plugin');
|
|||
|
||||
import consts from './consts';
|
||||
import hoist from './hoist';
|
||||
//import minify from './minify';
|
||||
import minify from './minify';
|
||||
import banner from './banner';
|
||||
|
||||
const env = process.env.NODE_ENV;
|
||||
|
@ -16,7 +16,7 @@ export default (version, lang) => {
|
|||
];
|
||||
|
||||
if (isProduction) {
|
||||
//plugins.push(minify());
|
||||
plugins.push(minify());
|
||||
}
|
||||
|
||||
plugins.push(banner(version));
|
||||
|
|
Loading…
Reference in a new issue