fix plugins in webpack config

This commit is contained in:
Pooya Parsa 2018-03-22 14:02:20 +04:30 committed by Pooya Parsa
parent 919e3e7f80
commit d22f7fe725

View File

@ -126,9 +126,8 @@ export default function webpackBaseConfig({ name, isServer }) {
]
},
plugins: [
new VueLoader.VueLoaderPlugin(),
...(this.options.plugins || [])
]
new VueLoader.VueLoaderPlugin()
].concat(this.options.build.plugins || [])
}
// Build progress indicator