Skip to content

同样的配置 rsbuild和 vite 构建,产物rsbuild 的产物比vite 构建的大近200k, #2254

Answered by canyuegongzi
canyuegongzi asked this question in Q&A
Discussion options

You must be logged in to vote

好像知道问题所在了 vite 没有注入 polyfill, rsbuild 默认开始了 polyfill

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@canyuegongzi
Comment options

Comment options

You must be logged in to vote
1 reply
@chenjiahan
Comment options

Answer selected by chenjiahan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants