Skip to content

Commit 3357cbf

Browse files
committed
(optim): no need for separate cacheRoot per format
- similarly to the previous commit, it's unnecessary and less performant to have a separate cacheRoot per format - each TS compilation occurs before the format is changed anyway, so at that point in the process, format is irrelevant - builds can now re-use cache from other formats, which resulted in a perf boost during testing
1 parent 6929300 commit 3357cbf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/createRollupConfig.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ export async function createRollupConfig(
146146
},
147147
typescript({
148148
typescript: ts,
149-
cacheRoot: `./node_modules/.cache/tsdx/${opts.format}/`,
150149
tsconfig: opts.tsconfig,
151150
tsconfigDefaults: {
152151
exclude: [

0 commit comments

Comments
 (0)