-
-
Notifications
You must be signed in to change notification settings - Fork 50.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
feat(theme): extract theme-js file for supprt mixin theme #22934
Conversation
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.
Could you please add tests to make sure this change works as expected?
自己本地 build 试了一下,umi 那边也不用改动其他东西。 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit b44fd78:
|
Codecov Report
@@ Coverage Diff @@
## master #22934 +/- ##
=======================================
Coverage 98.31% 98.31%
=======================================
Files 363 363
Lines 7250 7250
Branches 1941 1978 +37
=======================================
Hits 7128 7128
Misses 122 122 Continue to review full report at Codecov.
|
@afc163 umi 那边之前好像加了个 schema 阻止了配置。 |
👌,我提个 Pr |
我怎么感觉这个改了之后子菜单展现的时候 有明显的延迟 你们感觉到了吗 |
🤔 This is a ...
🔗 Related issue link
#22815
umijs/umi#4315
💡 Background and solution
Extract dark-theme.js and compact-theme.js file, every theme.js file only includes their less-var, also extract default-them.js.
📝 Changelog
☑️ Self Check before Merge