mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
chore(options): vendor backward compability with nuxt 1.x (#3218)
This commit is contained in:
parent
238480c322
commit
320d1ba283
@ -182,6 +182,11 @@ Options.from = function (_options) {
|
||||
options.build.stats = false
|
||||
}
|
||||
|
||||
// Vendor backward compability with nuxt 1.x
|
||||
if (!options.build.vendor) {
|
||||
options.build.vendor = []
|
||||
}
|
||||
|
||||
// TODO: remove when mini-css-extract-plugin supports HMR
|
||||
if (options.dev) {
|
||||
options.build.extractCSS = false
|
||||
|
Loading…
Reference in New Issue
Block a user