Skip to content

Commit 8830532

Browse files
authoredApr 11, 2023
fix(build): correctly handle warning ignore list (#12831)
1 parent 23b5979 commit 8830532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ export function onRollupWarning(
894894
return
895895
}
896896

897-
if (!warningIgnoreList.includes(warning.code!)) {
897+
if (warningIgnoreList.includes(warning.code!)) {
898898
return
899899
}
900900

0 commit comments

Comments
 (0)
Please sign in to comment.