Merge pull request #488 from any35/master

pass 'this nuxt' context in extend webpack config
This commit is contained in:
Sébastien Chopin 2017-04-03 18:23:29 +02:00 committed by GitHub
commit 89edc32298

View File

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