Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd52239

Browse files
committed
fix(nitro): exempt nightly release from import protections
resolves #33502
1 parent 1f69d1e commit dd52239

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
@@ -492,7 +492,7 @@ export async function bundle (nuxt: Nuxt & { _nitro?: Nitro }) {
492492
ImpoundPlugin.rollup({
493493
cwd: nuxt.options.rootDir,
494494
patterns: createImportProtectionPatterns(nuxt, { context: 'nitro-app' }),
495-
exclude: [/node_modules[\\/]nitro(?:pack)?(?:-nightly)?[\\/]|(packages|@nuxt)[\\/]nitro-server[\\/](src|dist)[\\/]runtime[\\/]/, ...sharedPatterns],
495+
exclude: [/node_modules[\\/]nitro(?:pack)?(?:-nightly)?[\\/]|(packages|@nuxt)[\\/]nitro-server(?:-nightly)?[\\/](src|dist)[\\/]runtime[\\/]/, ...sharedPatterns],
496496
}),
497497
)
498498

0 commit comments

Comments
 (0)