Skip to content

Commit 580ba7a

Browse files
authoredJan 4, 2023
perf(build): disable rollup cache for builds (#11454)
1 parent e5807c4 commit 580ba7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/vite/src/node/build.ts

+1
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ export async function build(
498498
: libOptions
499499
? 'strict'
500500
: false,
501+
cache: config.build.watch ? undefined : false,
501502
...options.rollupOptions,
502503
input,
503504
plugins,

0 commit comments

Comments
 (0)
Please sign in to comment.