mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-25 02:31:41 +00:00
Babel and esbuild were never here for TypeScript. Babel carried the static optimizing compiler and one plugin that appended extensions to esbuild's emitted imports; source now names its own extensions and the compiler rewrites them on emit. A sixty-line runner replaces the tool: an ESM emit with declarations, a CommonJS emit where a manifest states a require entry, and a native emit where a .native sibling takes its sibling's name. The compiler packages keep Babel as their own substrate; nothing else runs over the code. Eighteen packages still carry type errors the previous tool never checked.
18 lines
802 B
TypeScript
18 lines
802 B
TypeScript
export * from './checkDeps.ts'
|
|
export * from './types.ts'
|
|
export { createExtractor } from './extractor/createExtractor.ts'
|
|
export { literalToAst } from './extractor/literalToAst.ts'
|
|
export * from './constants.ts'
|
|
export * from './extractor/extractablePath.ts'
|
|
export * from './extractor/extractToClassNames.ts'
|
|
export * from './extractor/concatClassName.ts'
|
|
export * from './extractor/extractToNative.ts'
|
|
export * from './extractor/extractHelpers.ts'
|
|
export * from './extractor/loadGui.ts'
|
|
export * from './extractor/watchGuiConfig.ts'
|
|
export * from './extractor/createLogger.ts'
|
|
export * from './registerRequire.ts'
|
|
export { detectModuleFormat, clearFormatCache } from './extractor/detectModuleFormat.ts'
|
|
export { esbundleGuiConfig } from './extractor/bundle.ts'
|
|
export * from './getPragmaOptions.ts'
|