Fix bug
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
const StringReplacePlugin = require('string-replace-webpack-plugin');
|
||||
|
||||
import consts from './consts';
|
||||
import hoist from './hoist';
|
||||
//import minify from './minify';
|
||||
import banner from './banner';
|
||||
@ -9,6 +10,7 @@ const isProduction = env === 'production';
|
||||
|
||||
export default (version, lang) => {
|
||||
const plugins = [
|
||||
consts(lang),
|
||||
new StringReplacePlugin(),
|
||||
hoist()
|
||||
];
|
||||
|
Reference in New Issue
Block a user