mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-07 09:22:27 +00:00
update webpack/base for webpackbar 3.0.2
This commit is contained in:
parent
e8aabac197
commit
c39c7cd51e
@ -276,12 +276,13 @@ export default class WebpackBaseConfig {
|
|||||||
this.nuxt.callHook('bundler:change', shortPath)
|
this.nuxt.callHook('bundler:change', shortPath)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
allDone: (context) => {
|
done: (context) => {
|
||||||
if (!context.hasErrors) {
|
if (context.hasErrors) {
|
||||||
this.nuxt.callHook('bundler:done')
|
|
||||||
} else {
|
|
||||||
this.nuxt.callHook('bundler:error')
|
this.nuxt.callHook('bundler:error')
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
allDone: () => {
|
||||||
|
this.nuxt.callHook('bundler:done')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
|
Loading…
Reference in New Issue
Block a user