diff options
Diffstat (limited to 'packages/astro/src/jsx/babel.ts')
-rw-r--r-- | packages/astro/src/jsx/babel.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/astro/src/jsx/babel.ts b/packages/astro/src/jsx/babel.ts index 8850dadc1..3482bbf37 100644 --- a/packages/astro/src/jsx/babel.ts +++ b/packages/astro/src/jsx/babel.ts @@ -1,9 +1,10 @@ import type { PluginObj } from '@babel/core'; import * as t from '@babel/types'; import { pathToFileURL } from 'node:url'; -import { ClientOnlyPlaceholder } from '../runtime/server/index.js'; import type { PluginMetadata } from '../vite-plugin-astro/types'; +const ClientOnlyPlaceholder = 'astro-client-only'; + function isComponent(tagName: string) { return ( (tagName[0] && tagName[0].toLowerCase() !== tagName[0]) || |