docs(splash): run the build instead of naming the hashes - #8410
Merged
alexander-akait merged 4 commits intoSep 14, 2026
Merged
alexander-akait merged 4 commits into
alexander-akait merged 4 commits into
Conversation
The front page spent three output options on content hashes and then showed their digits in the emitted page, which nothing on the page needs and which no reader can reproduce. Since 5.111 names a page's entries after the urls its tags carry, the config is down to the one option the page's `type="module"` tag asks for, and the emitted names are the ones webpack gives them. The room that frees goes to the two commands a first build is actually made of, which the page never showed.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The link went to /api/cli/#advanced-options, an anchor the CLI page no longer carries — it documents no bail flag at all — so the link check failed on the fragment. bail is documented under other-options, which is where the sentence meant to send the reader.
One block with both commands made the reader hold two commands in mind before either was explained. Each command now stands next to what it does to the output.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The front page spent three
outputoptions on content hashes and then printed their digits in the emitted page. Nothing on the page needs them, no reader can reproduce them, and the two hashes shown were left over from a build before #8392 turned the output into ES modules — a pairing no single build produces, sinceoutput.modulerewrites the chunk and therefore its[contenthash].Since 5.111 names a page's entries after the urls its tags carry, the config is down to the one option the page's
type="module"tag asks for, and the emitted names are the ones webpack gives them (index.mjs,styles.css). The room that frees goes to the two commands a first build is actually made of, which the page never showed:Verified through
webpack-cliagainstwebpackmain, not read off the source:npx webpack --mode developmentindex.html(readable),index.mjs,styles.css,styles.css.mapnpx webpack --mode production[minimized], no mapNote this page is correct for 5.111 and not for 5.110.3, where the same config fails with
'output.module: true' is only allowed when 'experiments.outputModule' is enabled. That is already true ofmainsince #8392; this change does not widen the gap, but it should go live with the release.What kind of change does this PR introduce?
docs
Did you add tests for your changes?
No — front-page example content. Checked by running both builds and by the repo's own unit suite, prettier, markdownlint, eslint and cspell.
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?
n/a
Use of AI
Claude Code was used to build the splash example against webpack
mainand the released 5.110.3, to determine from those builds what the page should show, and to make the change. The emitted file names and the failure message above are real output, not inference.🤖 Generated with Claude Code
https://claude.ai/code/session_012ee7dGaRGKqYPxUzFEEU65
Generated by Claude Code