New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
angular report server dependencies as not esm #27553
Comments
|
I might have misunderstand the warning, but I feel the main purpose of showing the warning is the browser bundle size, which means if the package is used only in SSR then it shouldn't warn since the browser bundle size is unaffected |
Though mainly linked to enhancing front-end performance, ESM treeshaking proves valuable for server-side applications for these key reasons:
Hence, while the impact of smaller bundles might not be as noticeable in server-side applications as in client-side scenarios, the benefits are still tangible. They include faster startup times, reduced resource consumption and cost savings in serverless environments. |
Command
build
Is this a regression?
The previous version in which this bug was not present was
No response
Description
when building using application builder with SSR Angular warn about node dependencies
this is the same as my problem
firebase/firebase-js-sdk#7914
by removing the server configuration this warning disappear
expected behavior
not to show warning about node modules
Minimal Reproduction
ng add @angular/fire
and chooseAuthentication
ng build
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: