File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,13 @@ export default defineConfig({
88 react ( ) ,
99 dts ( {
1010 insertTypesEntry : true ,
11- } ) ,
11+ exclude : [
12+ "**/__tests__/**" ,
13+ "**/*.test.ts" ,
14+ "**/*.spec.ts"
15+ ]
16+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
17+ } ) as any ,
1218 ] ,
1319 build : {
1420 lib : {
@@ -28,7 +34,7 @@ export default defineConfig({
2834 } ,
2935 } ,
3036 } ,
31- sourcemap : true ,
37+ sourcemap : false ,
3238 } ,
3339 // Vitest specific config can go here if not using a separate vitest.config.ts for the package
3440 // test: { ... }
Original file line number Diff line number Diff line change @@ -9,7 +9,13 @@ export default defineConfig({
99 dts ( {
1010 insertTypesEntry : true ,
1111 tsconfigPath : path . resolve ( __dirname , 'tsconfig.json' ) ,
12+ exclude : [
13+ "**/__tests__/**" ,
14+ "**/*.test.ts" ,
15+ "**/*.spec.ts"
16+ ]
1217 } ) ,
18+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1319 ] ,
1420 build : {
1521 lib : {
You can’t perform that action at this time.
0 commit comments