1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 14:10:04 +02: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: [
'./index.js'
],
plugins: base.config.concat([
plugins: base.config.plugins.concat([
new webpack.optimize.DedupePlugin(),
new webpack.optimize.OccurrenceOrderPlugin(true),
new webpack.optimize.UglifyJsPlugin()