fix(M02): 표 부품은 진입 파일만 늦게 받음 — 스프레드시트가 compass 조각을 끌지 않게
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0168FQuoV7vDh5nhnSowW5cp
This commit is contained in:
@@ -46,8 +46,10 @@ interface SheetEditorHandle extends EditorHandle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Mods = Record<string, () => Promise<unknown>>;
|
type Mods = Record<string, () => Promise<unknown>>;
|
||||||
// 표 부품(sub3) · 도면 부품(sub2) — 파일 이름은 각 창이 정함 → 폴더를 훑어 내보낸 이름으로 찾음
|
// 표 부품(sub3) · 도면 부품(sub2) — 내보낸 이름으로 찾음
|
||||||
const SHEET_MODS: Mods = import.meta.glob("../ui_template/sheet/*.ts");
|
// 표는 진입 파일만 — 폴더 통째(`*.ts`)면 분수 모듈이 따로 늦게 받는 입구가 되어 번들러 도우미를
|
||||||
|
// 달고, 그 도우미가 든 큰 조각(compass)까지 스프레드시트가 끌어옴
|
||||||
|
const SHEET_MODS: Mods = import.meta.glob("../ui_template/sheet/ui_template_sheet.ts");
|
||||||
const DRAWING_MODS: Mods = import.meta.glob("./M02_MasterTemplete_Drawing*.ts");
|
const DRAWING_MODS: Mods = import.meta.glob("./M02_MasterTemplete_Drawing*.ts");
|
||||||
|
|
||||||
async function findExport<T>(mods: Mods, name: string): Promise<T | null> {
|
async function findExport<T>(mods: Mods, name: string): Promise<T | null> {
|
||||||
|
|||||||
Reference in New Issue
Block a user