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
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Hello Community,
I am Facing an issue in the Angular Production Build Generated main[hash].js file, the main file generated in builds shows all the information about dependencies, I have tried several things including custom-webpack, but I am unable to remove the details from the main.js file
I want to remove the highlighted part from main[hash].js file generated with ng build --prod
Minimal Reproduction
generated the build using ng build --prod
checked main[hash].js file in browser, dependencies and devDependencies details are still there.
Exception or Error
To remove Dependencies or devDependencies from the angular prod / UAT build generated main[hash].js
@JeanMeche I Know, but this project is in Production and has some dependencies due to which I cannot upgrade the stack, appreciate it if you could provide any solution.
For license comments in the output chunks, the extractLicenses option can be used (enabled by default in production for newly generated projects).
As to the package.json content in the output chunks, the application code itself is most likely importing the project's package.json. This is something that would need to be fixed within the application's code and not the Angular CLI.
Command
build
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Hello Community,
I am Facing an issue in the Angular Production Build Generated main[hash].js file, the main file generated in builds shows all the information about dependencies, I have tried several things including custom-webpack, but I am unable to remove the details from the main.js file
I want to remove the highlighted part from main[hash].js file generated with ng build --prod
Minimal Reproduction
generated the build using ng build --prod
checked main[hash].js file in browser, dependencies and devDependencies details are still there.
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: