mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
fix(modern): modern is wrongly enalbed in full static (#7509)
[release]
This commit is contained in:
parent
b13f9355dd
commit
8fb196c5d5
@ -195,7 +195,8 @@ export default class VueRenderer {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!resources.modernManifest && options.target !== TARGETS.static) {
|
const isExplicitStaticModern = options.target === TARGETS.static && options.modern
|
||||||
|
if (!resources.modernManifest && !isExplicitStaticModern) {
|
||||||
options.modern = false
|
options.modern = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user