fix(TsPathRewriter): rewrite cross-module import paths after compilation
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.
This commit is contained in:
1
ts/mod_pathrewrite/index.ts
Normal file
1
ts/mod_pathrewrite/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './classes.tspathrewriter.js';
|
||||
Reference in New Issue
Block a user