-
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
feat: improve miniapp #6985
base: master
Are you sure you want to change the base?
feat: improve miniapp #6985
Conversation
3a99204
to
8a12b36
Compare
1dc7df9
to
6ae900b
Compare
6ae900b
to
d181d35
Compare
422ac13
to
23d428d
Compare
4a9c48d
to
67c1295
Compare
67c1295
to
0a806a9
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6985 +/- ##
==========================================
+ Coverage 79.08% 79.09% +0.01%
==========================================
Files 221 220 -1
Lines 19715 19654 -61
Branches 2506 2508 +2
==========================================
- Hits 15592 15546 -46
+ Misses 4085 4068 -17
- Partials 38 40 +2 ☔ View full report in Codecov by Sentry. |
441c21c
to
13f7a02
Compare
CI 的问题可以先解决了 |
13f7a02
to
d5bbec3
Compare
@ClarkXia CI 已经解决了 |
"@ice/shared-config": "1.2.9", | ||
"@ice/webpack-config": "1.1.16", | ||
"@ice/rspack-config": "1.1.10", | ||
"@ice/bundles": "workspace:*", |
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.
一些工程依赖包的策略上是锁版本的,使用 workspace 没法保证发布后的版本规则吧?
@@ -11,7 +11,7 @@ export const isKuaiShouMiniProgram = isClient && import.meta.target === 'kuaisho | |||
export const isWeChatMiniProgram = isClient && import.meta.target === 'wechat-miniprogram'; | |||
export const isKraken = isClient && import.meta.target === 'kraken'; | |||
export const isQuickApp = false; // Now ice.js will not implement quick app target. | |||
export const isMiniApp = isAliMiniApp || isByteDanceMicroApp || isBaiduSmartProgram || isKuaiShouMiniProgram || isWeChatMiniProgram; | |||
export const isMiniApp = isAliMiniApp;// in universal-env, isMiniApp is equals to isAliMiniApp |
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.
为什么是这个逻辑
@@ -317,6 +321,17 @@ export function createRoutePath(routeId: string): string | undefined { | |||
return result || undefined; | |||
} | |||
|
|||
function createRouteIdStripIndex(page: string): string { |
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.
routeMainfest 的 path 字段应该也是类似逻辑,看下是不是应该是一致的
No description provided.