-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Provide options to receive webpack --json #3179
Comments
@JohannesRudolph I think this is a great idea for being able to produce dumps of information, in an attempt to see if it was possible, i ended up modifying 1 file and installing 1 package. For those willing to play around with their node_modules for some fun, replace and then run |
I agree that this would be helpful, but am unsure if we want to do it anytime soon because it would break the build system abstraction. |
@filipesilva I agree this would be nice to have, the build system functioning is definitely more important than some stats, i would opt for a having people make the simple change i made if the stats are important to them (maybe for integration purposes). I've definitely grown accustomed to using the CLI and openly hacking away at anything that i'm curious on. |
Allows you to run ng build --json which generates dist/stats.json. This can then be used with things like the webpack-bundle-analyzer or https://webpack.github.io/analyse/ Fix angular#3179
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
angular-cli: 1.0.0-beta.20-4
node: 6.9.1
Request
It would be very helpful if angular-cli did provide an option to receive output of
webpack --json
duringng build
for further analysis of webpack chunks and code size (e.g. using the excellent webpack-visualizer: https://chrisbateman.github.io/webpack-visualizer/ or https://webpack.github.io/analyse/)The text was updated successfully, but these errors were encountered: