Skip to content

Commit

Permalink
fix(tsconfig): referenced project must have setting composite true (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxtrotSierra6829 authored Oct 5, 2023
1 parent e5ce6fd commit ec42638
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion libs/core/app/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"declaration": true,
"types": ["node"]
"types": ["node"],
"composite": true
},
"include": ["src/**/*.ts", "src/lib/search-questions.ts"],
"exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"]
Expand Down
4 changes: 2 additions & 2 deletions libs/core/app/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": "./tsconfig.json",
"composite": true,
"include": ["vite.config.ts", "src/**/*.test.*"],
"compilerOptions": {
"types": ["vitest/globals"]
"types": ["vitest/globals"],
"composite": true
}
}

1 comment on commit ec42638

@vercel
Copy link

@vercel vercel bot commented on ec42638 Oct 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.