mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
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
Block a user