-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
chore: optimize bundle size #3750
Conversation
examples/with-rax-lite/README.md
Outdated
@@ -0,0 +1,3 @@ | |||
# with rax |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
后面可能需要考虑一下示例的维护和测试问题,需要有个策略,防止无限制的增加示例带来的冗余。
} | ||
}, | ||
{ | ||
name: 'lite', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没看出 lite 模式的作用是做了什么
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
去掉了,测试了一下 src/app.tsx
里不调用 runApp
就不会把框架运行时的依赖打进来
store: false
,可选不添加状态管理的能力pages
下面的能力