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
build: use father instead of tsc #8297
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
58d2207
to
309eabc
Compare
309eabc
to
53052ad
Compare
Size Change: +75.5 kB (+1%) Total Size: 9.87 MB
ℹ️ View Unchanged
|
Codecov Report
@@ Coverage Diff @@
## master #8297 +/- ##
=======================================
Coverage 31.13% 31.13%
=======================================
Files 389 389
Lines 10397 10397
Branches 2459 2459
=======================================
Hits 3237 3237
Misses 6709 6709
Partials 451 451
Continue to review full report at Codecov.
|
d028c1d
to
53052ad
Compare
Changes
tsc
为father build
tsc --watch
为father dev
tsconfig.json
中的declarationMap
,father dev
阶段会自动添加,发 NPM 包时应该不需要 maptsconfig.base.json
中的别名挪到tsconfig.json
里,避免构建时自动解析为 alias@babel/runtime
依赖,启用 runtime helperstsc 不会处理 polyfill,切换到 father 4 顺便绕过 ESBuild 压缩插入 helpers、偶发 qiankun 主/子应用 helpers 全局变量相同、穿透沙箱最终导致渲染爆栈的问题,因为产物里不再有高级语法、ESBuild 不会插入 helpers