Skip to content

Commit f901bdb

Browse files
author
Umutcan ÖNER
committed
fix: resolve tsup TypeScript incremental build error
1 parent b5fdc46 commit f901bdb

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

tsconfig.build.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"incremental": false,
5+
"composite": false,
6+
"tsBuildInfoFile": null
7+
}
8+
}

tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ export default defineConfig({
77
minify: true,
88
dts: true,
99
format: ['cjs', 'esm'],
10-
tsconfig: 'tsconfig.json',
10+
tsconfig: 'tsconfig.build.json',
1111
});

0 commit comments

Comments
 (0)