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
If I modify the entry file name (by typecasting to any as it's a hidden interface option) to have .js extension – it is minified. So, it seems to be not picked up by the optimizers due to its extension only.
The text was updated successfully, but these errors were encountered:
Current Behavior
When you build non-dev builds –
remoteEntry.mjs
is not minified. Thus, it's ~2x the size it could've been otherwise.Expected Behavior
It should be minified even if it has
.mjs
which it has by default.GitHub Repo
https://github.com/gultyayev/nx-angular-mfe-repro
Steps to Reproduce
dist/apps/about/remoteEntry.mjs
and see that it's not optimizedNx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
If I modify the entry file name (by typecasting to any as it's a hidden interface option) to have
.js
extension – it is minified. So, it seems to be not picked up by the optimizers due to its extension only.The text was updated successfully, but these errors were encountered: