Skip to content

Commit

Permalink
fix(build): correctly handle warning ignore list (#12831)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Apr 11, 2023
1 parent 23b5979 commit 8830532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ export function onRollupWarning(
return
}

if (!warningIgnoreList.includes(warning.code!)) {
if (warningIgnoreList.includes(warning.code!)) {
return
}

Expand Down

0 comments on commit 8830532

Please sign in to comment.