mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
fix(build): add missing React index.tsx entry files for tsup bundling
Three React modules were missing their index.tsx entry files, causing tsup to skip them during buildreact. The compile step then failed with "Cannot find module" errors for: - orcide-tooltip/index.js - orcide-editor-widgets-tsx/index.js - orcide-onboarding/index.js Each index.tsx follows the existing pattern: import the component and export a mount function via mountFnGenerator. https://claude.ai/code/session_01UgRm1eNr4jVDQ4tVK2LXoR
This commit is contained in:
parent
06d3c742d5
commit
386863197b
3 changed files with 29 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Orcest AI. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { mountFnGenerator } from '../util/mountFnGenerator.js'
|
||||
import { OrcideCommandBar } from './OrcideCommandBar.js'
|
||||
import { OrcideSelectionHelperMain } from './OrcideSelectionHelper.js'
|
||||
|
||||
export const mountOrcideCommandBar = mountFnGenerator(OrcideCommandBar)
|
||||
export const mountOrcideSelectionHelper = mountFnGenerator(OrcideSelectionHelperMain)
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Orcest AI. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { mountFnGenerator } from '../util/mountFnGenerator.js'
|
||||
import { OrcideOnboarding } from './OrcideOnboarding.js'
|
||||
|
||||
export const mountOrcideOnboarding = mountFnGenerator(OrcideOnboarding)
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Orcest AI. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { mountFnGenerator } from '../util/mountFnGenerator.js'
|
||||
import { OrcideTooltip } from './OrcideTooltip.js'
|
||||
|
||||
export const mountOrcideTooltip = mountFnGenerator(OrcideTooltip)
|
||||
Loading…
Reference in a new issue