mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix: Cannot read property call of undefined when extractCSS is true
This commit is contained in:
parent
3c4b57e1f7
commit
28d3e6fdb3
@ -73,7 +73,11 @@ module.exports = class Builder {
|
||||
'vue-router',
|
||||
'vue-meta',
|
||||
this.options.store && 'vuex'
|
||||
].concat(this.options.build.vendor).filter(v => v)
|
||||
].concat(this.options.build.extractCSS && [
|
||||
// https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/456
|
||||
'vue-style-loader/lib/addStylesClient',
|
||||
'css-loader/lib/css-base'
|
||||
]).concat(this.options.build.vendor).filter(v => v)
|
||||
}
|
||||
|
||||
vendorEntries() {
|
||||
|
Loading…
Reference in New Issue
Block a user