build(zone.js): zone.js should output esm format for fesm2015 bundles#39203
Closed
JiaLiPassion wants to merge 1 commit intoangular:masterfrom
Closed
build(zone.js): zone.js should output esm format for fesm2015 bundles#39203JiaLiPassion wants to merge 1 commit intoangular:masterfrom
JiaLiPassion wants to merge 1 commit intoangular:masterfrom
Conversation
b3dc134 to
4195415
Compare
IgorMinar
approved these changes
Oct 9, 2020
Contributor
IgorMinar
left a comment
There was a problem hiding this comment.
The rest looks good to me. Can you please clarify why we have the minified debug output there? is it actually necessary for something?
Zone.js support `Angular package format` since `0.11`, but the `fesm2015` bundles are not `esm` format, it still use `umd` bundle which is not correct, in this PR, a new `esm` bundle output is added in `rollup_bundle` rule under `tools`, so zone.js can use the new rule to generate `esm` bundles.
4195415 to
91b6b21
Compare
kyliau
approved these changes
Oct 9, 2020
mhevery
approved these changes
Oct 15, 2020
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Zone.js support
Angular package formatsince0.11, but thefesm2015bundlesare not
esmformat, it still useumdbundle which is not correct, in this PR,a new
esmbundle output is added inrollup_bundlerule undertools, sozone.js can use the new rule to generate
esmbundles.Before this PR,
fesm2015/zone.jsis aumdbundle.now it is a
esmbundle.