Skip to content

Commit 251d0ab

Browse files
authored
fix(build): do not repeatedly output warning message (#12910)
1 parent ef89ca6 commit 251d0ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vite/src/node/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,7 @@ export function onRollupWarning(
904904
colors.yellow(`[plugin:${warning.plugin}]`),
905905
)} ${colors.yellow(warning.message)}`,
906906
)
907+
return
907908
}
908909

909910
warn(warning)

0 commit comments

Comments
 (0)