File tree Expand file tree Collapse file tree
packages/adapter-vite/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ async function buildClient(ctx: OpenElementBuildContext): Promise<void> {
250250 // does not recognize (causes [object Object] rendering).
251251 esbuild : {
252252 jsx : 'automatic' ,
253- jsxImportSource : '@openelement/core ' ,
253+ jsxImportSource : '@openelement/element ' ,
254254 } ,
255255 build : {
256256 outDir : clientOutDir ,
Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ if (typeof globalThis.customElements === 'undefined') {
368368 // ADR-0057: JSX automatic runtime, same reason as build-client.ts.
369369 // SSG build also processes .tsx island files for SSR rendering.
370370 jsx : 'automatic' ,
371- jsxImportSource : '@openelement/core ' ,
371+ jsxImportSource : '@openelement/element ' ,
372372 tsconfigRaw : {
373373 compilerOptions : {
374374 useDefineForClassFields : false ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export interface OpenMdxPluginOptions {
88
99export function mdxPlugin ( options : OpenMdxPluginOptions = { } ) : Plugin {
1010 const plugin = mdx ( {
11- jsxImportSource : options . jsxImportSource ?? '@openelement/core ' ,
11+ jsxImportSource : options . jsxImportSource ?? '@openelement/element ' ,
1212 providerImportSource : undefined ,
1313 development : options . development ?? false ,
1414 } ) as Plugin ;
You can’t perform that action at this time.
0 commit comments