fix "base.config.concat is not a function"
This commit is contained in:
parent
5d89bdb278
commit
efe109067e
@ -5,7 +5,7 @@ module.exports = Object.assign(base.config, {
|
|||||||
entry: [
|
entry: [
|
||||||
'./index.js'
|
'./index.js'
|
||||||
],
|
],
|
||||||
plugins: base.config.concat([
|
plugins: base.config.plugins.concat([
|
||||||
new webpack.optimize.DedupePlugin(),
|
new webpack.optimize.DedupePlugin(),
|
||||||
new webpack.optimize.OccurrenceOrderPlugin(true),
|
new webpack.optimize.OccurrenceOrderPlugin(true),
|
||||||
new webpack.optimize.UglifyJsPlugin()
|
new webpack.optimize.UglifyJsPlugin()
|
||||||
|
Loading…
Reference in New Issue
Block a user