When compiling multiple ts_* source directories to dist_ts_* outputs, imports like '../ts_shared/helper.js' now correctly become '../dist_ts_shared/helper.js' in the compiled output. Uses targeted regex patterns that only match import/export/require statements, avoiding false positives in strings or comments.
16 lines
479 B
TypeScript
16 lines
479 B
TypeScript
import * as early from '@push.rocks/early';
|
|
early.start('tsbuild');
|
|
|
|
// Export from new modular structure
|
|
export * from './mod_fs/index.js';
|
|
export * from './mod_config/index.js';
|
|
export * from './mod_unpack/index.js';
|
|
export * from './mod_pathrewrite/index.js';
|
|
export * from './mod_compiler/index.js';
|
|
export * from './mod_cli/index.js';
|
|
|
|
// Re-export TypeScript types for convenience
|
|
export type { CompilerOptions, ScriptTarget, ModuleKind } from 'typescript';
|
|
|
|
early.stop();
|