Skip to content

Commit

Permalink
fix: loader in latest node had a break change
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Jan 4, 2024
1 parent 031c7ff commit 5e9cf6d
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 146 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@
},
"license": "MIT",
"devDependencies": {
"@ava/typescript": "^4.1.0",
"@napi-rs/cli": "^2.15.2",
"@types/node": "^18.15.11",
"ava": "^5.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"ava": {
"timeout": "3m",
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm"
]
"typescript": {
"rewritePaths": {
"__tests__/": "dist/"
},
"compile": "tsc"
}
},
"engines": {
"node": ">= 10"
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"module": "CommonJS",
"moduleResolution": "node"
"moduleResolution": "node",
"outDir": "dist"
}
}
Loading

0 comments on commit 5e9cf6d

Please sign in to comment.