Skip to content

Commit

Permalink
perf(build): disable rollup cache for builds (#11454)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Jan 4, 2023
1 parent e5807c4 commit 580ba7a
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 580ba7a

Please sign in to comment.