mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
fix(nitro): treat bootrap dep as an entry file (#3106)
This commit is contained in:
parent
82a7fd561b
commit
8056b8e171
@ -36,6 +36,8 @@ const getSPARenderer = cachedResult(async () => {
|
||||
let entryFiles = Object.values(clientManifest).filter(
|
||||
(fileValue: any) => fileValue.isEntry
|
||||
)
|
||||
// https://github.com/nuxt/framework/pull/3106
|
||||
entryFiles.push(...entryFiles.flatMap((e: any) => e.dynamicImports || []).map(i => clientManifest[i]).filter(Boolean))
|
||||
if ('all' in clientManifest && 'initial' in clientManifest) {
|
||||
// Upgrade legacy manifest (also see normalizeClientManifest in vue-bundle-renderer)
|
||||
// https://github.com/nuxt-contrib/vue-bundle-renderer/issues/12
|
||||
|
Loading…
Reference in New Issue
Block a user