From fc520d139f8dd82e17e1e9c5b7ed935593a18c78 Mon Sep 17 00:00:00 2001 From: Michael Brevard Date: Tue, 22 Oct 2024 23:40:43 +0300 Subject: [PATCH] chore: remove unnecessary comment --- packages/nuxt/src/core/plugins/import-protection.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/nuxt/src/core/plugins/import-protection.ts b/packages/nuxt/src/core/plugins/import-protection.ts index f4c2fb8678..a38f4ff2b1 100644 --- a/packages/nuxt/src/core/plugins/import-protection.ts +++ b/packages/nuxt/src/core/plugins/import-protection.ts @@ -38,7 +38,6 @@ export const nuxtImportProtections = (nuxt: { options: NuxtOptions }, options: { if (options.isNitro) { patterns[count++] = ['#app', 'Vue app aliases are not allowed in server runtime.'] - // This is pushed because it surpasses the max known length of the array patterns.push([/^#build(\/|$)/, 'Vue app aliases are not allowed in server runtime.']) }