Skip to content

Commit

Permalink
(optim): no need for separate cacheRoot per format
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
agilgur5 committed Apr 20, 2020
1 parent 6929300 commit 3357cbf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/createRollupConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ export async function createRollupConfig(
},
typescript({
typescript: ts,
cacheRoot: `./node_modules/.cache/tsdx/${opts.format}/`,
tsconfig: opts.tsconfig,
tsconfigDefaults: {
exclude: [
Expand Down

0 comments on commit 3357cbf

Please sign in to comment.