You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used polyfill:'usage' to configure compatibility with my browser, but the packaged product es5 syntax has a scope problem, causing my variables to be contaminated. In my code, show_type in 3 should be used instead of show_type in 1(figure 1 is the compiled code ). How do I fix this, Or is this a bug in rsbuild?
Version
Details
I used polyfill:'usage' to configure compatibility with my browser, but the packaged product es5 syntax has a scope problem, causing my variables to be contaminated. In my code, show_type in 3 should be used instead of show_type in 1(figure 1 is the compiled code ). How do I fix this, Or is this a bug in rsbuild?
Reproduce link
https://codesandbox.io/p/github/rspack-contrib/rsbuild-codesandbox-example/csb-zktgdv/draft/great-flower?file=%2Fsrc%2FApp.jsx%3A11%2C54
Reproduce Steps
npm run build
checkout index.[hash].js , search "show_type" the result will be appear!!
The text was updated successfully, but these errors were encountered: