mirror of https://github.com/nuxt/nuxt.git
Merge pull request #488 from any35/master
pass 'this nuxt' context in extend webpack config
This commit is contained in:
commit
89edc32298
|
@ -105,7 +105,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,
|
||||
isClient: true
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue