mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
chore: remove unnecessary checks
This commit is contained in:
parent
43709fda15
commit
a188f07f19
@ -282,7 +282,7 @@ export function getNuxtConfig(_options) {
|
||||
}
|
||||
|
||||
// Disable CSS extraction due to incompatibility with thread-loader
|
||||
if (options.build && options.build.extractCSS && options.build.parallel) {
|
||||
if (options.build.extractCSS && options.build.parallel) {
|
||||
options.build.parallel = false
|
||||
consola.warn('extractCSS cannot work with parallel build due to limited work pool in thread-loader')
|
||||
}
|
||||
|
@ -440,7 +440,7 @@ export default class VueRenderer {
|
||||
// context.spa
|
||||
if (context.spa === undefined) {
|
||||
// TODO: Remove reading from context.res in Nuxt3
|
||||
context.spa = !this.SSR || context.spa || req.spa || (context.res && context.res.spa)
|
||||
context.spa = !this.SSR || req.spa || (context.res && context.res.spa)
|
||||
}
|
||||
|
||||
// context.modern
|
||||
|
Loading…
Reference in New Issue
Block a user