1
0
mirror of https://github.com/yldio/copilot.git synced 2024-09-21 13:53:51 +03:00

fix "base.config.concat is not a function"

This commit is contained in:
Sérgio Ramos 2016-10-24 14:37:30 +01:00
parent 5d89bdb278
commit efe109067e

View File

@ -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()