Skip to content

upgrade gatsby-plugin-webpack-bundle-analyser-v2#6450

Closed
leecalcote wants to merge 8 commits into
masterfrom
leecalcote/seo/gatsby-plugin-webpack-bundle-analyser-v2
Closed

upgrade gatsby-plugin-webpack-bundle-analyser-v2#6450
leecalcote wants to merge 8 commits into
masterfrom
leecalcote/seo/gatsby-plugin-webpack-bundle-analyser-v2

Conversation

@leecalcote

Copy link
Copy Markdown
Member

Signed-off-by: Lee Calcote lee.calcote@layer5.io

Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
@leecalcote leecalcote requested a review from sudhanshutech May 15, 2025 16:40
@github-actions

github-actions Bot commented May 15, 2025

Copy link
Copy Markdown
Contributor

Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
@l5io

l5io commented May 15, 2025

Copy link
Copy Markdown
Member

🚀 Preview for commit 5d049b8 at: https://68261c0b2513bd0dcb33beb1--layer5.netlify.app

Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
Comment thread gatsby-config.js
options: {
disable: true
devMode: true,
disable: process.env.NODE_ENV !== "production",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should it be not better if it is enabled for development also because we want analyzer to run for dev mode too to check various things like the bundle size and all?

@stale

stale Bot commented Jun 27, 2025

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the issue/stale Issue has not had any activity for an extended period of time label Jun 27, 2025
…e-analyser-v2

Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
@leecalcote leecalcote requested a review from Fireentity December 1, 2025 07:10
@stale stale Bot removed the issue/stale Issue has not had any activity for an extended period of time label Dec 1, 2025
Comment thread gatsby-config.js
Comment on lines +37 to +38
devMode: true,
disable: process.env.NODE_ENV !== "production",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Both will contradicts to each other

Comment thread gatsby-config.js
reportFilename: "./report.html",
openAnalyzer: true,
analyzerPort: "8888",
analyzerHost: "http://localhost",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It looks like the build is failing because the webpack bundle analyzer is configured with analyzerHost: "http://localhost", but this option expects only the hostname (for example, "localhost") and not a full URL.
After modifying this, the build started working as expected.

@fitzergerald fitzergerald deleted the leecalcote/seo/gatsby-plugin-webpack-bundle-analyser-v2 branch March 11, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants