You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As IE11 is no longer supported by Angular 13, there is no way to generate esm5 bundle.
Therefore, generated esm2020 bundles is not compatible in the projects with an old version of angular.
🔬 Minimal Reproduction
Run the following command in any project:
nx build some-lib
🔥 Exception or Error
See generated bundle, there are no esm5 and lib bundles with .js files inside (not .mjs):
Angular Package Format has not included ES5 sources for quite some time (Angular 10) and this is unrelated to IE11 support.
The CLI will automatically downlevel ES2020/ES2015 library code to ES5 when bundling an application that requests an ES5 output format.
Therefore, generated esm2020 bundles is not compatible in the projects with an old version of angular.
A library should never be used in older versions of Angular than they were build in.
🐞 Bug report
Command (mark with an
x
)Description
As IE11 is no longer supported by Angular 13, there is no way to generate
esm5
bundle.Therefore, generated
esm2020
bundles is not compatible in the projects with an old version of angular.🔬 Minimal Reproduction
Run the following command in any project:
nx build some-lib
🔥 Exception or Error
See generated bundle, there are no
esm5
andlib
bundles with .js files inside (not .mjs):🌍 Your Environment
nx report
:tsconfig.base.json
The text was updated successfully, but these errors were encountered: