File tree Expand file tree Collapse file tree 7 files changed +3
-475
lines changed Expand file tree Collapse file tree 7 files changed +3
-475
lines changed Original file line number Diff line number Diff line change @@ -60,22 +60,8 @@ import { sum } from "@utils/sum";
6060### 3. Usage
6161
6262- ** Compile with ` tsc ` ** — Use [ ts-patch] ( https://github.com/nonara/ts-patch )
63-
64- - ** Use with ts-node** — Add ` typescript-transform-paths/register ` to ` require ` config.
65-
66- ` tsconfig.json `
67-
68- ``` jsonc
69- {
70- " ts-node" : {
71- " transpileOnly" : true ,
72- " require" : [ " typescript-transform-paths/register" ],
73- },
74- " compilerOptions" { /* ... */ }
75- }
76- ```
77-
78- - ** Use with node** — Use the register script: ` node -r typescript-transform-paths/register src/index.ts `
63+ - ** ts-node** — See [ wiki] ( https://github.com/LeDDGroup/typescript-transform-paths/wiki/Integration-with-nx )
64+ - ** nx** — See [ wiki] ( https://github.com/LeDDGroup/typescript-transform-paths/wiki/Integration-with-ts%E2%80%90node )
7965
8066## Virtual Directories
8167
Original file line number Diff line number Diff line change 77 "." : {
88 "types" : " ./dist/index.d.ts" ,
99 "default" : " ./dist/index.js"
10- },
11- "./register" : " ./dist/register-entry.js"
10+ }
1211 },
1312 "files" : [
1413 " dist" ,
Original file line number Diff line number Diff line change 11export type { TsTransformPathsConfig } from "./types" ;
2- export { register } from "./register" ;
32
43export { default } from "./transformer" ;
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments