MAKE COMPRESSION GREAT AGAIN

This commit is contained in:
syuilo 2017-11-28 18:14:24 +09:00
parent 55df52fb04
commit 6bac17917e

View file

@ -2,7 +2,7 @@ const StringReplacePlugin = require('string-replace-webpack-plugin');
import consts from './consts'; import consts from './consts';
import hoist from './hoist'; import hoist from './hoist';
//import minify from './minify'; import minify from './minify';
import banner from './banner'; import banner from './banner';
const env = process.env.NODE_ENV; const env = process.env.NODE_ENV;
@ -16,7 +16,7 @@ export default (version, lang) => {
]; ];
if (isProduction) { if (isProduction) {
//plugins.push(minify()); plugins.push(minify());
} }
plugins.push(banner(version)); plugins.push(banner(version));