File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 99 "skipLibCheck" : true ,
1010 "sourceMap" : true ,
1111 "strict" : true ,
12- "moduleResolution" : " bundler"
12+ "moduleResolution" : " bundler" ,
13+ "composite" : true
1314 },
1415 "references" : [
1516 {
Original file line number Diff line number Diff line change @@ -7,16 +7,17 @@ export default defineConfig({
77 root : __dirname ,
88 cacheDir : '../../node_modules/.vite/pkgs/client' ,
99 plugins : [
10- dts ( {
10+ dts ( {
1111 include : [ 'src/**/*.ts' ] ,
1212 outDir : 'dist' ,
1313 rollupTypes : false , // Don't bundle for now
1414 insertTypesEntry : true ,
15- tsConfigFilePath : resolve ( __dirname , 'tsconfig.lib.json' ) ,
16- skipDiagnostics : true // Skip TypeScript diagnostics to avoid vite-plugin-dts errors with monorepo project references.
17- // The plugin tries to compile all imported files (including from other packages)
15+ tsconfigPath : resolve ( __dirname , 'tsconfig.lib.json' ) ,
16+ skipDiagnostics : true // Skip TypeScript diagnostics to avoid vite-plugin-dts errors with monorepo project references.
17+ // The plugin tries to compile all imported files (including from other packages)
1818 // which breaks rootDir boundaries. Nx runs proper type checking separately.
19- } )
19+ } ) as any // Type cast to avoid Vite version mismatch between packages
20+
2021 ] ,
2122 build : {
2223 lib : {
Original file line number Diff line number Diff line change 2020 },
2121 {
2222 "path" : " ./pkgs/client"
23+ },
24+ {
25+ "path" : " ./apps/demo"
2326 }
2427 ]
2528}
You can’t perform that action at this time.
0 commit comments