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

setup webpack bundle analyzer #17

Merged
merged 1 commit into from
May 2, 2024
Merged

setup webpack bundle analyzer #17

merged 1 commit into from
May 2, 2024

Conversation

mbwatson
Copy link
Member

@mbwatson mbwatson commented May 2, 2024

this PR brings in Webpack Bundle Analyzer as a dev dependency.

in its default setup, the treemap of dependencies is served on port 8888 when webpack dev server starts, and it looks something like this:
image

this is useful to keep track of our bundle size as we begin to flesh out new features. i'm not sure we always want it to come up when the dev server is started, but that's the default behavior, and i'm not certain there are other options there. perhaps we can discuss strategies for folding this information into our dev workflows.

@mbwatson mbwatson requested a review from PhillipsOwen May 2, 2024 15:46
Copy link
Collaborator

@PhillipsOwen PhillipsOwen left a comment

Choose a reason for hiding this comment

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

interesting...

@PhillipsOwen PhillipsOwen merged commit f4fc3be into main May 2, 2024
2 checks passed
@mbwatson mbwatson deleted the bundle-analyzer branch May 22, 2024 20:25
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.

2 participants