Disable minification due to artifacts

This commit is contained in:
syuilo 2017-11-07 12:08:44 +09:00
parent 8dd2e310f1
commit fe1e01a108
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ const StringReplacePlugin = require('string-replace-webpack-plugin');
import constant from './const'; import constant from './const';
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));