angular/aio/content
Igor Minar 9dbb30f884 feat(bazel): simplify ng_package by dropping esm5 and fesm5 (#36944)
esm5 and fesm5 are no longer needed and have been deprecated in the past.

https://v9.angular.io/guide/deprecations#esm5-and-fesm5-code-formats-in-angular-npm-packages

This commit modifies ng_package to no longer distribute these two formats in npm packages
built by ng_package (e.g. @angular/core).

This commit intentionally doesn't fully clean up the ng_package rule to remove all traces of esm5 and fems5
build artifacts as that is a bigger cleanup and currently we are narrowing down the scope of this change
to the MVP needed for v10, which in this case is 'do not put esm5 and fesm5' into the npm packages.

More cleanup to follow: https://angular-team.atlassian.net/browse/FW-2143

BREAKING CHANGE: esm5 and fesm5 format is no longer distributed in
Angular's npm packages e.g. @angular/core

If you are not using Angular CLI to build your application or library,
and you need to be able to build es5 artifacts, then you will need to
downlevel the distributed Angular code to es5 on your own.

Angular CLI will automatically downlevel the code to es5 if differential
loading is enabled in the Angular project, so no action is required from
Angular CLI users.

PR Close #36944
2020-05-06 13:54:26 -07:00
..
cli refactor(docs-infra): remove obsolete format attribute from code examples (#31674) 2019-07-24 14:38:54 -07:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
examples docs: Add new section, tutorials, to left nav, and a tutorial on routing (#36545) 2020-05-05 11:51:19 -07:00
guide feat(bazel): simplify ng_package by dropping esm5 and fesm5 (#36944) 2020-05-06 13:54:26 -07:00
images docs: add Annie Wang to contributors.json (#36612) 2020-04-23 12:08:09 -04:00
marketing docs: add Annie Wang to contributors.json (#36612) 2020-04-23 12:08:09 -04:00
start docs: improve startup nav, naming, and terminology (#35533) 2020-04-22 17:08:29 -04:00
tutorial docs: improve startup nav, naming, and terminology (#35533) 2020-04-22 17:08:29 -04:00
file-not-found.md fix(docs-infra): do not create an anchor for the file-not-found header (#27250) 2018-12-05 13:26:26 -08:00
license.md build: bump year (#34651) 2020-01-13 07:21:43 -08:00
navigation.json docs: Add new section, tutorials, to left nav, and a tutorial on routing (#36545) 2020-05-05 11:51:19 -07:00