-
Notifications
You must be signed in to change notification settings - Fork 278
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: upgrade rollup to 2 #274
Conversation
Codecov Report
@@ Coverage Diff @@
## master #274 +/- ##
==========================================
+ Coverage 73.61% 73.67% +0.05%
==========================================
Files 16 16
Lines 470 471 +1
Branches 162 163 +1
==========================================
+ Hits 346 347 +1
Misses 123 123
Partials 1 1
Continue to review full report at Codecov.
|
Co-authored-by: 信鑫-King <chaolinjin@gmail.com>
这个分支上发个 |
ping @sorrycc ~ |
father-build@1.19.0-alpha.0 已发布,可用于测试 rolllup 2 |
Co-authored-by: 信鑫-King <chaolinjin@gmail.com>
修改内容
2.33.1
rollup-plugin-*
切换为@rollup/plugin-*
rollup-plugin-postcss-umi
为rollup-plugin-postcss
,以适配 rollup 2namedExports
配置项,rollup 2 已支持自动识别 exports,详见:feat(commonjs): set syntheticNamedExports for commonjs modules rollup/plugins#149getRollupConfig
中的objectHashIgnoreUnknownHack
,新的 TypeScript 插件不再需要使用这个属性来支持async/await
,详见:(fix): upgrade object-hash to support async/await syntax ezolenko/rollup-plugin-typescript2#203close #269