-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhance] Rax SSR 包体积优化 #750
Comments
SSR 的包体积极致优化的目的是? |
babel 语法转化这个对构建速度的影响应该也还好,目前只编译源码不会编译 node_modules,你指的是更高级语法对性能更好?如果业务有自己的诉求可以在 build.json 配置:https://rax.js.org/docs/guide/build-config#browserslist |
platform-loader 这个可以参考「跨端三方包研发规范」这个 RFC |
关于这点我又想了一下,node 的 targets 和 web 的 targets 得允许用户单独配置,不然 node 的 targets 会影响 web |
使用 "Modern JavaScript" 对体积和性能的影响可以参考这里 原文:Publish, ship, and install modern JavaScript for faster applications |
The text was updated successfully, but these errors were encountered: