Skip to content

Improve Getting Started guide clarity and consistency#8199

Merged
alexander-akait merged 2 commits intowebpack:mainfrom
arechaithanya:codex/improve-getting-started-guide
Apr 17, 2026
Merged

Improve Getting Started guide clarity and consistency#8199
alexander-akait merged 2 commits intowebpack:mainfrom
arechaithanya:codex/improve-getting-started-guide

Conversation

@arechaithanya
Copy link
Copy Markdown
Contributor

Summary

This PR improves the webpack Getting Started guide by tightening several beginner-facing explanations and correcting outdated examples.

The guide now explains when webpack is useful before asking readers to install it, adds package-manager guardrails so users do not accidentally run npm, yarn, and pnpm commands together, clarifies the project-wide impact of "type": "module", and explains why dist/ is temporary manual scaffolding at this stage of the guide.

It also updates outdated dependency/version examples, removes legacy npm install --save guidance, clarifies that webpack bundles module graphs rather than generally transpiling JavaScript syntax, and explains why the first build output is minimized by default.

What kind of change does this PR introduce?

docs

Did you add tests for your changes?

No runtime tests were added because this PR only changes documentation.

I validated the changed guide with:

  • npm run lint:markdown -- src/content/guides/getting-started.mdx
  • npx prettier --check src/content/guides/getting-started.mdx

The repository pre-commit checks also passed for the staged file.

Does this PR introduce a breaking change?

No.

If relevant, what needs to be documented once your changes are merged or what have you already documented?

All relevant changes are already documented in this PR within src/content/guides/getting-started.mdx.

Use of AI

I used AI assistance to help audit the existing guide, draft clearer wording, and prepare the documentation changes. I reviewed the generated changes before committing them and validated the result with the repository’s markdown/prettier checks.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-js-org Ready Ready Preview, Comment Apr 17, 2026 9:50am

Request Review

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 17, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Copy Markdown
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

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

Let's fix lint and we can merge

@alexander-akait alexander-akait merged commit cbd073d into webpack:main Apr 17, 2026
9 checks passed
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