mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +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
|
||||
}
|
||||
|
||||
if (!resources.modernManifest && options.target !== TARGETS.static) {
|
||||
const isExplicitStaticModern = options.target === TARGETS.static && options.modern
|
||||
if (!resources.modernManifest && !isExplicitStaticModern) {
|
||||
options.modern = false
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user