File tree 2 files changed +6
-1
lines changed
packages/vite/src/node/plugins
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,10 @@ export function buildReporterPlugin(config: ResolvedConfig): Plugin {
91
91
startTime = Date . now ( )
92
92
} ,
93
93
94
+ buildStart ( ) {
95
+ transformedCount = 0
96
+ } ,
97
+
94
98
buildEnd ( ) {
95
99
if ( shouldLogInfo ) {
96
100
if ( tty ) {
Original file line number Diff line number Diff line change @@ -240,11 +240,12 @@ export function webWorkerPlugin(config: ResolvedConfig): Plugin {
240
240
}
241
241
} ,
242
242
243
+ // @ts -expect-error return void to fallback to other plugins, even though
244
+ // the types doesn't allow it. https://github.com/rollup/rollup/pull/4932
243
245
shouldTransformCachedModule ( { id } ) {
244
246
if ( isBuild && isWorkerQueryId ( id ) && config . build . watch ) {
245
247
return true
246
248
}
247
- return false
248
249
} ,
249
250
250
251
async transform ( raw , id , options ) {
You can’t perform that action at this time.
0 commit comments