-
Notifications
You must be signed in to change notification settings - Fork 277
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
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
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.
|
ycjcl868
reviewed
Nov 17, 2020
Co-authored-by: 信鑫-King <[email protected]>
ycjcl868
approved these changes
Nov 17, 2020
这个分支上发个 |
ping @sorrycc ~ |
[email protected] 已发布,可用于测试 rolllup 2 |
ycjcl868
reviewed
Nov 19, 2020
Co-authored-by: 信鑫-King <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
修改内容
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