mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
refactor: disable extractCSS in dev due to plugin not supports HMR
This commit is contained in:
parent
df939be712
commit
8beb1b3525
@ -174,5 +174,9 @@ Options.from = function (_options) {
|
||||
options.generate.fallback = '404.html'
|
||||
}
|
||||
|
||||
// TODO: remove when mini-css-extract-plugin supports HMR
|
||||
if (options.dev) {
|
||||
options.build.extractCSS = false
|
||||
}
|
||||
return options
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user