Skip to content

Commit

Permalink
fix(build): do not repeatedly output warning message (#12910)
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Apr 19, 2023
1 parent ef89ca6 commit 251d0ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/build.ts
Expand Up @@ -904,6 +904,7 @@ export function onRollupWarning(
colors.yellow(`[plugin:${warning.plugin}]`),
)} ${colors.yellow(warning.message)}`,
)
return
}

warn(warning)
Expand Down

0 comments on commit 251d0ab

Please sign in to comment.