Merge pull request #853 from 0pt1m1z3r/server-build-extend

Fix server build.extend context
This commit is contained in:
Sébastien Chopin 2017-06-10 12:19:25 +02:00 committed by GitHub
commit e2dac5f3aa

View File

@ -63,7 +63,7 @@ export default function () {
// Extend config
if (typeof this.options.build.extend === 'function') {
this.options.build.extend(config, {
this.options.build.extend.call(this, config, {
dev: this.dev,
isServer: true
})