Skip to content
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

Add a yarn build:analyze command #24351

Merged
merged 2 commits into from Aug 17, 2018
Merged

Add a yarn build:analyze command #24351

merged 2 commits into from Aug 17, 2018

Conversation

balderdash
Copy link
Contributor

This invokes webpack-bundle-analyzer, which opens a browser window with a cool visualization of our bundle sizes and the sources contributing to each.

This invokes webpack-bundle-analyzer, and opens a browser window with a
cool visualization of our bundle sizes and the sources contributing to
each.
@@ -8,6 +8,8 @@ var logBuildTimes = require('./script/log-build-times');
var webpackConfig = require('./webpack');
var envConstants = require('./envConstants');
var checkEntryPoints = require('./script/checkEntryPoints');
var BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: deliberate extra blank line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, removed.

@balderdash balderdash merged commit 5640ab8 into staging Aug 17, 2018
@balderdash balderdash deleted the bundle-analyzer branch September 18, 2018 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants