Skip to content

Commit

Permalink
Use import over loader for ava
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Jun 27, 2024
1 parent 5528c11 commit 8809e33
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 161 deletions.
4 changes: 2 additions & 2 deletions ava.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export default () => {
ignoredByWatcher: ['tmp/**/*'],
files: [`**/*.${ext}.ts`, '!package/**/*'],
extensions: {
ts: 'module'
ts: 'commonjs'
},
nodeArguments: ['--loader=tsx']
nodeArguments: ['--import=tsx']
}
}
Loading

0 comments on commit 8809e33

Please sign in to comment.