Skip to content

Commit

Permalink
Fix import aliasing in Vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpens committed Dec 3, 2024
1 parent 86c9546 commit de10568
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion libs/form-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"typecheck": "tsc --project ./tsconfig.json --noEmit"
},
"license": "EUPL-1.2",
"private": true
"private": true,
"type": "module"
}
4 changes: 2 additions & 2 deletions libs/form-renderer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react-jsx",
"resolveJsonModule": true,
"strict": true
},
"extends": "../../tsconfig.base.json"
}
}
2 changes: 2 additions & 0 deletions libs/form-renderer/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/// <reference types="vitest/config" />
import { defineConfig } from 'vite'
import tsconfigPaths from 'vite-tsconfig-paths'

export default defineConfig({
plugins: [tsconfigPaths()],
test: {
coverage: {
enabled: true,
Expand Down

0 comments on commit de10568

Please sign in to comment.