I've been working on upgrading native federation from 20.1.7 to 20.3.1 and I now get the following when building:
error: Could not resolve "E:\code\portal\angular\node_modules\ngx-bootstrap\datepicker\esm2022\ngx-bootstrap-datepicker.mjs"
error: Could not resolve "E:\code\portal\angular\node_modules\ngx-bootstrap\tabs\esm2022\ngx-bootstrap-tabs.mjs"
I brought this to the Native Federation folks, and they told me that they read package information from the esm field rather than the default because sometimes they get commonjs. The problem is, there isn't an esm2022 folder. Removing the esm property or populating that folder would fix my issue.
I've been working on upgrading native federation from 20.1.7 to 20.3.1 and I now get the following when building:
I brought this to the Native Federation folks, and they told me that they read package information from the esm field rather than the default because sometimes they get
commonjs. The problem is, there isn't anesm2022folder. Removing the esm property or populating that folder would fix my issue.