Commit a932fa0
committed
fix(init): use bin.js entry point for TypeScript loader in justfile
`just init` fails because `node packages/tools/src/index.ts` runs
without a TypeScript loader, so Node.js cannot resolve `.js` imports
to `.ts` files. Use `bin.js` which registers `@oxc-node/core/register`
before importing `index.ts`.1 parent 9322199 commit a932fa0
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments