Skip to content

Commit 272d9ab

Browse files
committed
fix(nitro): exempt nightly release from import protections
resolves #33502
1 parent 6856a17 commit 272d9ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nitro-server/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ export async function bundle (nuxt: Nuxt & { _nitro?: Nitro }) {
500500
ImpoundPlugin.rollup({
501501
cwd: nuxt.options.rootDir,
502502
patterns: createImportProtectionPatterns(nuxt, { context: 'nitro-app' }),
503-
exclude: [/node_modules[\\/]nitro(?:pack)?(?:-nightly)?[\\/]|(packages|@nuxt)[\\/]nitro-server[\\/](src|dist)[\\/]runtime[\\/]/, ...sharedPatterns],
503+
exclude: [/node_modules[\\/]nitro(?:pack)?(?:-nightly)?[\\/]|(packages|@nuxt)[\\/]nitro-server(?:-nightly)?[\\/](src|dist)[\\/]runtime[\\/]/, ...sharedPatterns],
504504
}),
505505
)
506506

0 commit comments

Comments
 (0)