Commit ced26cd
authored
fix(init): use bin.js entry point for TypeScript loader in justfile (#1252)
Closes #1251
- `just init` fails with `ERR_MODULE_NOT_FOUND` because `node
packages/tools/src/index.ts` runs without a TypeScript loader, so
Node.js cannot resolve `.js` imports to `.ts` files
- Changed to `node packages/tools/src/bin.js` which registers
`@oxc-node/core/register` before importing `index.ts`, enabling proper
`.js` → `.ts` resolution1 parent 4bf3ec1 commit ced26cd
1 file changed
+1
-1
lines changed| 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