Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a0e08f5

Browse files
committed
fix: update minimum rollup version requirement for native filter support
1 parent 87d98bf commit a0e08f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rollup/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,6 @@ function supportNativeFilter(context: any) {
100100
return false
101101

102102
const [major, minor] = rollupVersion.split('.')
103-
return (Number(major) > 4 || (Number(major) === 4 && Number(minor) >= 38))
103+
// https://github.com/rollup/rollup/pull/5909#issuecomment-2798739729
104+
return (Number(major) > 4 || (Number(major) === 4 && Number(minor) >= 40))
104105
}

0 commit comments

Comments
 (0)