Skip to content

Commit

Permalink
perf(build): disable rollup cache for builds (vitejs#11454)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored and futurGH committed Feb 26, 2023
1 parent 8ba4930 commit 30ec5c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ export async function build(
: libOptions
? 'strict'
: false,
cache: config.build.watch ? undefined : false,
...options.rollupOptions,
input,
plugins,
Expand Down

0 comments on commit 30ec5c7

Please sign in to comment.