From 13384149f7e031fa877f53a1936f7c86339bb5e0 Mon Sep 17 00:00:00 2001 From: Julien Huang Date: Sat, 27 Jan 2024 22:45:34 +0100 Subject: [PATCH] fix(nuxt): remove dynamic `nuxt-client` within template code (#25464) --- packages/nuxt/src/components/islandsTransform.ts | 2 +- packages/nuxt/test/islandTransform.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nuxt/src/components/islandsTransform.ts b/packages/nuxt/src/components/islandsTransform.ts index 9a84865007..2edba499a9 100644 --- a/packages/nuxt/src/components/islandsTransform.ts +++ b/packages/nuxt/src/components/islandsTransform.ts @@ -32,7 +32,7 @@ interface ComponentChunkOptions { const SCRIPT_RE = /]*>/g const HAS_SLOT_OR_CLIENT_RE = /(]*>)|(nuxt-client)/ const TEMPLATE_RE = /