GeezerVison is showing github.com — refactor: group wasm, stats, the output plugins and Parser out of lib/ root by alexander-akait · Pull Request #22220 · webpack/webpack
Conversation
alexander-akait
commented
Sep 21, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
Continues the lib/ grouping from #22118, #22191, #22202 and #22213, in four commits. lib/wasm-async/ folds into lib/wasm/, since the async path is the WebAssembly path a build takes and lib/wasm/ already held the two pieces neither path owns — lib/wasm-sync/ stays apart because webpack 6 removes it. Stats and MultiStats join the factories and printer they front in lib/stats/. A new lib/output/ takes the four plugins that shape the file set written into output.path rather than the modules it comes from — CopyPlugin and CleanPlugin, which output.copy and output.clean construct, plus BannerPlugin and ManifestPlugin. And Parser moves beside Generator in lib/module/, being the base every language's parser extends. 15 files leave lib/ root (23 real files → 16); behaviour is unchanged and types.d.ts regenerates byte-identical.
No re-export is owed. AsyncWasmModule keeps its old serializer request restorable through registerLegacyRequest, and lib/Parser is recorded under removed instead of re-exported: both packages the scan finds require it inside a try to detect webpack 4 — hard-source-webpack-plugin alongside lib/JsonParser, @sector-labs/lingui-loader alongside lib/JavascriptGenerator — so a re-export would answer the probe and send them down the webpack 4 branch.
What kind of change does this PR introduce?
refactor
Did you add tests for your changes?
No new cases — test/unitCases/deepPathShims.unittest.js already asserts every deep path the recorded scan names still resolves, off the same record this updates.
Does this PR introduce a breaking change?
No. compiler.webpack.* and the documented API are unchanged, every deep path the scan found still resolves or is recorded as unreachable, and a pre-move persistent cache pack still restores.
If relevant, what needs to be documented once your changes are merged or what have you already documented?
n/a — the Architecture listing in AGENTS.md gains a bullet for lib/output/ and for lib/wasm-sync/, with updated ones for lib/wasm/, lib/stats/ and lib/module/.
Use of AI
Claude Code performed the moves and reference rewrites and ran the verification; each grouping was reviewed before pushing. yarn lint passes all nine stages, yarn fix:special leaves types.d.ts byte-identical, no Pack got invalid line appears across the covering configCases/, and the lib/Parser decision was made by reading each importing package's tarball — the import sites are try-block webpack 4 probes — rather than its download count.
Generated by Claude Code
Summary by CodeRabbit
- Refactor
- Reorganized internal modules for parsers, statistics, output plugins, and WebAssembly support.
- Updated public module paths and type references to match the new structure.
- Preserved compatibility for legacy WebAssembly serialization identifiers.
- Documentation
- Updated architecture documentation to reflect the reorganized source directories.
- Chores
- Updated schemas, tooling metadata, and tests for the revised module locations.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
`lib/wasm/` held only the two pieces neither path owns —
`EnableWasmLoadingPlugin` and `wasmModuleFilename` — while the eight files
implementing the path a build actually takes sat beside it in
`lib/wasm-async/`. The async path is the WebAssembly path, so it moves in.
`lib/wasm-sync/` stays where it is: it goes away in webpack 6, and standing
apart is what says so.
`AsyncWasmModule` keeps `webpack/lib/wasm-async/AsyncWasmModule` restorable
through `registerLegacyRequest`, or a cache pack written before this stops
loading.
`lib/stats/` held the factories and the printer a run's output is rendered
through, while the two objects a run actually hands back stood in `lib/`
root. They are the front of that machinery, so they belong beside it.
Neither path is imported by any package the recorded scan reaches, so
neither owes a re-export.
Four plugins in `lib/` root shape the set of files a build writes rather than
the modules it writes them from: `CopyPlugin` adds to it, `CleanPlugin` prunes
it, `BannerPlugin` rewrites what an asset holds, and `ManifestPlugin` emits a
description of the rest.
`output` is the name they already answer to — `output.copy` and `output.clean`
construct two of them — and it leaves room for the next plugin of this kind.
Naming the directory for the hook they happen to share would have named when
they run instead of what they act on.
The four `tsType` entries pointing at `CopyPlugin`, `CleanPlugin`,
`BannerPlugin` and `ManifestPlugin` move with them, in both quoting styles the
schemas use.
`Parser` is the abstract base every language's parser extends — json, html,
asset, css, wasm and javascript — which makes it the counterpart of
`Generator`, already in `lib/module/`. The pair belongs together.
`lib/Parser` is recorded as removed rather than re-exported. Both packages the
scan finds require it inside a `try` to detect webpack 4 —
hard-source-webpack-plugin alongside `lib/JsonParser`, @sector-labs/lingui-loader
alongside `lib/JavascriptGenerator`, neither of which webpack 5 has — so a
re-export would answer the probe and send them down the webpack 4 branch.
github-actions
Bot
added
area: wasm
WebAssembly modules (lib/wasm-*)
area: parser
JavaScript parsing and dependency analysis (lib/javascript, lib/dependencies)
area: config
Options, defaults, validation (lib/config, schemas/)
area: css
CSS support (lib/css)
area: html
Experimental HTML support (lib/html)
area: optimization
Tree-shaking, splitChunks, concatenation, ids (lib/optimize, lib/ids)
area: runtime
Emitted runtime and chunk loading across targets (lib/runtime, lib/web, lib/node, lib/esm)
area: tooling
Repo tooling, codegen, CLI entry (tooling/, bin/)
labels
Sep 21, 2026
coderabbitai
Bot
commented
Sep 21, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
 
Understand this PR’s impact
Explore downstream dependencies and potential security impact with Blast Radius.
View blast radius →
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository: webpack/webpack/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID: d02ff1ab-ef0d-4baa-9175-76ce616cf5d0
📥 Commits
Reviewing files that changed from the base of the PR and between 358df69 and 712d397.
📒 Files selected for processing (54)
AGENTS.md
lib/Compilation.js
lib/Compiler.js
lib/MultiCompiler.js
lib/asset/AssetBytesParser.js
lib/asset/AssetParser.js
lib/asset/AssetSourceParser.js
lib/asset/WebManifestParser.js
lib/config/WebpackOptionsApply.js
lib/css/CssParser.js
lib/define/DefinePlugin.js
lib/html/HtmlParser.js
lib/index.js
lib/javascript/JavascriptParser.js
lib/json/JsonParser.js
lib/module/NormalModule.js
lib/module/NormalModuleFactory.js
lib/module/Parser.js
lib/node/ReadFileCompileAsyncWasmPlugin.js
lib/optimize/InnerGraph.js
lib/output/BannerPlugin.js
lib/output/CleanPlugin.js
lib/output/CopyPlugin.js
lib/output/ManifestPlugin.js
lib/stats/MultiStats.js
lib/stats/Stats.js
lib/util/internalSerializables.js
lib/wasm-sync/WebAssemblyParser.js
lib/wasm/AsyncWasmCompileRuntimeModule.js
lib/wasm/AsyncWasmLoadingRuntimeModule.js
lib/wasm/AsyncWasmModule.js
lib/wasm/AsyncWebAssemblyGenerator.js
lib/wasm/AsyncWebAssemblyJavascriptGenerator.js
lib/wasm/AsyncWebAssemblyModulesPlugin.js
lib/wasm/AsyncWebAssemblyParser.js
lib/wasm/EnableWasmLoadingPlugin.js
lib/wasm/UniversalCompileAsyncWasmPlugin.js
lib/watch/Watching.js
lib/web/FetchCompileAsyncWasmPlugin.js
lib/webpack.js
schemas/WebpackOptions.json
schemas/plugins/BannerPlugin.json
schemas/plugins/ManifestPlugin.json
test/configCases/custom-source-type/localization/webpack.config.js
test/configCases/errors/generator-without-generate-error/webpack.config.js
test/configCases/module-classes/wasm/webpack.config.js
test/unitCases/Compiler.unittest.js
test/unitCases/HtmlEntryWrapper.unittest.js
test/unitCases/HtmlParser.unittest.js
test/unitCases/ImportMetaRoundTrip.unittest.js
test/unitCases/JavascriptParser.unittest.js
test/unitCases/NormalModule.unittest.js
test/unitCases/ParserWithoutAcorn.unittest.js
tooling/deep-webpack-imports.json
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough
The change relocates parser, stats, output plugin, and asynchronous WebAssembly modules. Imports, exports, type references, schemas, tests, serialization registrations, and architecture documentation are updated for the new paths.
Changes
Module directory relocation
| Layer / File(s) |
Summary |
Parser and stats module paths AGENTS.md, lib/{asset,css,html,javascript,json,module,optimize}/*, lib/{Compilation,Compiler,MultiCompiler,index,watch,webpack}.js, lib/stats/*, test/*, tooling/deep-webpack-imports.json |
Parser references now use lib/module/Parser. Stats references now use lib/stats. Related exports, type imports, tests, and removed-path records are updated. |
Output plugin relocation AGENTS.md, lib/config/WebpackOptionsApply.js, lib/index.js, lib/output/*, schemas/* |
Output plugins use paths relative to lib/output, public exports and configuration wiring point to the relocated modules, and schema type references use the new locations. |
WebAssembly module paths AGENTS.md, lib/{config,module,node,util,wasm,wasm-sync,web}/*, lib/index.js, test/configCases/module-classes/wasm/webpack.config.js |
Async WebAssembly references now use lib/wasm. AsyncWasmModule registers both current and legacy serialization identifiers. Documentation and the WebAssembly test configuration reflect the new paths. |
Suggested labels: area: types
Priority: ⬇️ Low
Change: Refactor
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
| Check name |
Status |
Explanation |
| Description Check |
✅ Passed |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
✅ Passed |
The title uses the valid Conventional Commit type refactor and accurately describes the directory-grouping changes in the pull request. |
| Linked Issues check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
Warning Some tools did not complete. Review the errors below.
🔧 ESLint
If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.
lib/Compilation.js
ESLint failed to execute (timeout).
lib/Compiler.js
ESLint skipped: the matched ESLint configuration already failed (timeout).
lib/MultiCompiler.js
ESLint skipped: the matched ESLint configuration already failed (timeout).
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This PR is packaged and the instant preview is available (e7911a5).
Install it locally:
npm i -D webpack@https://pkg.pr.new/webpack@e7911a5
yarn add -D webpack@https://pkg.pr.new/webpack@e7911a5
pnpm add -D webpack@https://pkg.pr.new/webpack@e7911a5
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Types CoverageCoverage after merging refactor/group-lib-root-files into main will be
Coverage Report| File | Stmts | Branches | Funcs | Lines | Uncovered Lines |
|---|
| bin | | webpack.js | 98.82% | 100% | 100% | 98.82% | 103 | | examples | | build-common.js | 100% | 100% | 100% | 100% | | | buildAll.js | 100% | 100% | 100% | 100% | | | examples.js | 100% | 100% | 100% | 100% | | | template-common.js | 98.21% | 100% | 100% | 98.21% | 72 | | examples/custom-javascript-parser | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/custom-javascript-parser/internals | | acorn-parse.js | 100% | 100% | 100% | 100% | | | meriyah-parse.js | 100% | 100% | 100% | 100% | | | oxc-parse.js | 100% | 100% | 100% | 100% | | | examples/markdown | | webpack.config.mjs | 100% | 100% | 100% | 100% | | | examples/module-federation | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/reexport-components | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/typescript | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/typescript-non-erasable | | test.filter.js | 50% | 100% | 100% | 50% | 5 | | examples/virtual-modules | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-bindgen-esm | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-complex | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-emscripten | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-simple | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-simple-source-phase | | test.filter.js | 100% | 100% | 100% | 100% | | | lib | | APIPlugin.js | 100% | 100% | 100% | 100% | | | Chunk.js | 100% | 100% | 100% | 100% | | | CompatibilityPlugin.js | 100% | 100% | 100% | 100% | | | Compilation.js | 98.59% | 100% | 100% | 98.59% | 1759, 2080, 2087, 2095, 2117, 2120, 24, 3056, 3535–3536, 3568, 4157, 4161, 4260, 4281, 4406, 4443, 4450, 4503–4504, 4508, 4513, 4529–4530, 4544–4545, 4550–4551, 5074, 5100, 5930, 5947, 5965, 5981, 5996, 6021, 6024, 6392, 6395–6396, 6401, 6416, 6499, 6523, 6637, 839–840 | | Compiler.js | 98.81% | 100% | 100% | 98.81% | 1116, 1153, 1156, 1336–1337, 1345, 848, 934, 975 | | ConstPlugin.js | 100% | 100% | 100% | 100% | | | Dependency.js | 100% | 100% | 100% | 100% | | | DependencyTemplate.js | 100% | 100% | 100% | 100% | | | EntryPlugin.js | 100% | 100% | 100% | 100% | | | Entrypoint.js | 100% | 100% | 100% | 100% | | | ExportsInfoApiPlugin.js | 100% | 100% | 100% | 100% | | | ExternalsPlugin.js | 100% | 100% | 100% | 100% | | | FileSystemInfo.js | 99.75% | 100% | 100% | 99.75% | 187, 285, 3947, 3962, 3986, 3989 | | InitFragment.js | 100% | 100% | 100% | 100% | | | JavascriptMetaInfoPlugin.js | 100% | 100% | 100% | 100% | | | LibraryTemplatePlugin.js | 100% | 100% | 100% | 100% | | | ModuleFilenameHelpers.js | 100% | 100% | 100% | 100% | | | ModuleNotFoundError.js | 100% | 100% | 100% | 100% | | | MultiCompiler.js | 98.88% | 100% | 100% | 98.88% | 460, 532, 719, 784 | | NormalModule.js | 100% | 100% | 100% | 100% | | | NullFactory.js | 100% | 100% | 100% | 100% | | | ProgressPlugin.js | 99.80% | 100% | 100% | 99.80% | 694 | | ProvidePlugin.js | 100% | 100% | 100% | 100% | | | RawModule.js | 100% | 100% | 100% | 100% | | | RequestShortener.js | 100% | 100% | 100% | 100% | | | SingleEntryPlugin.js | 100% | 100% | 100% | 100% | | | UseStrictPlugin.js | 100% | 100% | 100% | 100% | | | WebpackError.js | 100% | 100% | 100% | 100% | | | WebpackIsIncludedPlugin.js | 100% | 100% | 100% | 100% | | | cli.js | 98.63% | 100% | 100% | 98.63% | 10, 117, 547, 579, 629, 903 | | index.js | 99.73% | 100% | 100% | 99.73% | 184 | | webpack.js | 97.12% | 100% | 100% | 97.12% | 10, 274, 296, 298 | | lib/asset | | AssetBytesGenerator.js | 100% | 100% | 100% | 100% | | | AssetBytesParser.js | 100% | 100% | 100% | 100% | | | AssetGenerator.js | 100% | 100% | 100% | 100% | | | AssetModule.js | 100% | 100% | 100% | 100% | | | AssetModulesPlugin.js | 98.15% | 100% | 100% | 98.15% | 338, 362, 365, 495, 57, 62 | | AssetParser.js | 100% | 100% | 100% | 100% | | | AssetSourceGenerator.js | 100% | 100% | 100% | 100% | | | AssetSourceParser.js | 100% | 100% | 100% | 100% | | | RawDataUrlModule.js | 100% | 100% | 100% | 100% | | | WebManifestGenerator.js | 100% | 100% | 100% | 100% | | | WebManifestParser.js | 100% | 100% | 100% | 100% | | | lib/async-modules | | AsyncModuleHelpers.js | 100% | 100% | 100% | 100% | | | AwaitDependenciesInitFragment.js | 100% | 100% | 100% | 100% | | | InferAsyncModulesPlugin.js | 100% | 100% | 100% | 100% | | | isGeneratorLowered.js | 100% | 100% | 100% | 100% | | | lib/bun | | BunTargetPlugin.js | 100% | 100% | 100% | 100% | | | lib/cache | | AddBuildDependenciesPlugin.js | 100% | 100% | 100% | 100% | | | AddManagedPathsPlugin.js | 100% | 100% | 100% | 100% | | | Cache.js | 96.49% | 100% | 100% | 96.49% | 10, 104 | | CacheFacade.js | 100% | 100% | 100% | 100% | | | IdleFileCachePlugin.js | 97.92% | 100% | 100% | 97.92% | 75, 87, 95 | | MemoryCachePlugin.js | 92% | 100% | 100% | 92% | 33, 42 | | MemoryWithGcCachePlugin.js | 93.42% | 100% | 100% | 93.42% | 106, 120–121, 130, 88 | | PackFileCacheStrategy.js | 96.55% | 100% | 100% | 96.55% | 1304, 1404, 1408, 1470, 1716, 1800, 1823, 1855, 682, 701, 711–713, 715, 731–732, 737, 740, 742, 747, 752, 777, 783, 817, 823, 829, 834, 845, 854, 859–860, 862, 879, 885–886, 888 | | ResolverCachePlugin.js | 100% | 100% | 100% | 100% | | | getLazyHashedEtag.js | 100% | 100% | 100% | 100% | | | mergeEtags.js | 100% | 100% | 100% | 100% | | | lib/config | | OptionsApply.js | 100% | 100% | 100% | 100% | | | PlatformPlugin.js | 100% | 100% | 100% | 100% | | | WebpackOptionsApply.js | 100% | 100% | 100% | 100% | | | WebpackOptionsDefaulter.js | 100% | 100% | 100% | 100% | | | browserslistTargetHandler.js | 100% | 100% | 100% | 100% | | | defaults.js | 99.44% | 100% | 100% | 99.44% | 1618–1620, 1628, 283, 286, 291, 295 | | defineConfig.js | 100% | 100% | 100% | 100% | | | getClaimedAssetTypes.js | 100% | 100% | 100% | 100% | | | normalization.js | 99.12% | 100% | 100% | 99.12% | 279–280, 346, 361 | | target.js | 100% | 100% | 100% | 100% | | | validateSchema.js | 94.67% | 100% | 100% | 94.67% | 100, 87, 89, 98 | | lib/container | | ContainerEntryDependency.js | 100% | 100% | 100% | 100% | | | ContainerEntryModule.js | 100% | 100% | 100% | 100% | | | ContainerEntryModuleFactory.js | 100% | 100% | 100% | 100% | | | ContainerExposedDependency.js | 100% | 100% | 100% | 100% | | | ContainerPlugin.js | 100% | 100% | 100% | 100% | | | ContainerReferencePlugin.js | 100% | 100% | 100% | 100% | | | FallbackDependency.js | 100% | 100% | 100% | 100% | | | FallbackItemDependency.js | 100% | 100% | 100% | 100% | | | FallbackModule.js | 100% | 100% | 100% | 100% | | | FallbackModuleFactory.js | 100% | 100% | 100% | 100% | | | HoistContainerReferencesPlugin.js | 100% | 100% | 100% | 100% | | | ModuleFederationPlugin.js | 100% | 100% | 100% | 100% | | | RemoteModule.js | 100% | 100% | 100% | 100% | | | RemoteRuntimeModule.js | 100% | 100% | 100% | 100% | | | RemoteToExternalDependency.js | 100% | 100% | 100% | 100% | | | declaredRemotes.js | 100% | 100% | 100% | 100% | | | moduleFederationHooks.js | 100% | 100% | 100% | 100% | | | options.js | 100% | 100% | 100% | 100% | | | lib/context | | ContextExclusionPlugin.js | 100% | 100% | 100% | 100% | | | ContextModule.js | 99.88% | 100% | 100% | 99.88% | 1495 | | ContextModuleFactory.js | 95.66% | 100% | 100% | 95.66% | 230, 257, 276, 280–281, 289, 465, 486, 491, 532, 541, 543, 547, 550, 556–557 | | ContextReplacementPlugin.js | 100% | 100% | 100% | 100% | | | lib/css | | CssGenerator.js | 99.47% | 100% | 100% | 99.47% | 1085, 136, 842 | | CssInjectStyleRuntimeModule.js | 100% | 100% | 100% | 100% | | | CssLoadingRuntimeModule.js | 100% | 100% | 100% | 100% | | | CssModule.js | 82.98% | 100% | 100% | 82.98% | 186, 191–199, 201–206 | | CssModulesPlugin.js | 99.85% | 100% | 100% | 99.85% | 826 | | CssParser.js | 99.44% | 100% | 100% | 99.44% | 2225, 24, 2859, 2862, 2868, 2909, 2912, 2951, 2954, 3291, 4696, 4699, 841, 957, 988 | | CssServerStylesRuntimeModule.js | 100% | 100% | 100% | 100% | | | cssMinify.js | 96.43% | 100% | 100% | 96.43% | 130, 139 | | data.js | 99.83% | 100% | 100% | 99.83% | 224, 4041 | | syntax.js | 99.56% | 100% | 100% | 99.56% | 10229–10230, 10764–10765, 10799, 10964, 12165–12166, 12168–12169, 12171–12172, 12177, 125, 13192–13195, 14049, 14182, 14331, 14936, 15392, 15705, 17153, 17578, 17805, 18697, 2444, 3136, 3138, 3143, 3162, 3900, 3906, 6837, 6875, 6882, 8140 | | lib/debug | | ProfilingPlugin.js | 96.22% | 100% | 100% | 96.22% | 162, 418, 547, 554, 563, 567, 576, 581, 587, 592, 85 | | lib/define | | DefinePlugin.js | 98.85% | 100% | 100% | 98.85% | 1495, 268–269, 285, 304, 378, 936, 938, 943, 967 | | DotenvPlugin.js | 98.07% | 100% | 100% | 98.07% | 391, 439, 452–453 | | EnvironmentPlugin.js | 97.14% | 100% | 100% | 97.14% | 49 | | lib/deno | | DenoTargetPlugin.js | 100% | 100% | 100% | 100% | | | lib/dependencies | | AMDDefineDependency.js | 100% | 100% | 100% | 100% | | | AMDDefineDependencyParserPlugin.js | 100% | 100% | 100% | 100% | | | AMDPlugin.js | 99.31% | 100% | 100% | 99.31% | 54 | | AMDRequireArrayDependency.js | 100% | 100% | 100% | 100% | | | AMDRequireContextDependency.js | 100% | 100% | 100% | 100% | | | AMDRequireDependenciesBlock.js | 100% | 100% | 100% | 100% | | | AMDRequireDependenciesBlockParserPlugin.js | 100% | 100% | 100% | 100% | | | AMDRequireDependency.js | 100% | 100% | 100% | 100% | | | AMDRequireItemDependency.js | 100% | 100% | 100% | 100% | | | AMDRuntimeModules.js | 95.45% | 100% | 100% | 95.45% | |
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
codecov
Bot
commented
Sep 21, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
❌ Patch coverage is 93.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.02%. Comparing base (358df69) to head (712d397).
Additional details and impacted files
@@ Coverage Diff @@
## main #22220 +/- ##
==========================================
- Coverage 95.02% 95.02% -0.01%
==========================================
Files 753 753
Lines 104906 104909 +3
Branches 32321 32321
==========================================
+ Hits 99688 99690 +2
- Misses 5218 5219 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Generated code size
Comparing base (358df69) to head (712d397). Merging this pull request changes the size of 2 asset(s) whose tests it leaves untouched.
| What moved |
Tests |
Assets |
Gzip |
Raw |
Test edit |
| Changed, test untouched |
1 |
2 |
🟢 ↓ -3 B |
🟢 ↓ -12 B |
— |
| Changed, test edited |
0 |
0 |
— |
— |
— |
| New |
0 |
0 |
— |
— |
— |
| Deleted |
0 |
0 |
— |
— |
— |
| Unchanged |
— |
7792 |
— |
— |
— |
Read Changed, test untouched first: the test is byte-identical on both sides, so webpack generated the difference. Changed, test edited moved partly because the test did — Test edit is how many bytes the test gained, and a bundle that grew by less is not a regression. New and Deleted are whole files, not deltas, so adding tests cannot bury a real change. Gzip decides, because that is what users download; raw is the tiebreak, and brotli and zstd are per asset below.
2 asset(s) changed size, test untouched
|
Asset |
Before |
After |
Change |
Gzip (9) |
Brotli (11) |
Zstd (19) |
| 🟢 ↓ |
errors/module-parse-error [hash].module.wasm |
1.05 KiB |
1.05 KiB |
-6 B (-0.56%) |
-1 B (-0.23%) |
-3 B (-0.85%) |
-4 B (-0.92%) |
| 🟢 ↓ |
errors/module-parse-error 888.bundle0.js |
1.16 KiB |
1.15 KiB |
-6 B (-0.51%) |
-2 B (-0.40%) |
-4 B (-0.93%) |
-3 B (-0.60%) |
No runtime gained or lost a runtime module.
Built test/configCases with the defaults a user gets: 2220 test(s), 7794 asset(s), 93 emitted nothing.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Merging this PR will regress 2 benchmarks
⚡ 3 improved benchmarks
❌ 2 regressed benchmarks
✅ 395 untouched benchmarks
⏩ 6 skipped benchmarks1
Performance Changes
|
Mode |
Benchmark |
BASE |
HEAD |
Efficiency |
| ❌ |
Memory |
benchmark "common-libs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
569.4 KB |
892.3 KB |
-36.19% |
| ❌ |
Memory |
benchmark "asset-modules-bytes", scenario '{"name":"mode-production","mode":"production"}' |
6.6 MB |
8.4 MB |
-21.61% |
| ⚡ |
Memory |
benchmark "future-defaults", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
319 KB |
169.4 KB |
+88.28% |
| ⚡ |
Memory |
benchmark "many-modules-interop-runtime", scenario '{"name":"mode-production","mode":"production"}', measure 'exec' |
21.3 KB |
15.7 KB |
+35.32% |
| ⚡ |
Simulation |
benchmark "wasm-modules-sync", scenario '{"name":"mode-development","mode":"development"}' |
1,140 ms |
845.2 ms |
+34.88% |
Tip Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing refactor/group-lib-root-files (712d397) with main (358df69)
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Sep 21, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
area: config
Options, defaults, validation (lib/config, schemas/)
area: css
CSS support (lib/css)
area: html
Experimental HTML support (lib/html)
area: optimization
Tree-shaking, splitChunks, concatenation, ids (lib/optimize, lib/ids)
area: parser
JavaScript parsing and dependency analysis (lib/javascript, lib/dependencies)
area: runtime
Emitted runtime and chunk loading across targets (lib/runtime, lib/web, lib/node, lib/esm)
area: tooling
Repo tooling, codegen, CLI entry (tooling/, bin/)
area: types
types.d.ts, JSDoc annotations, hand-maintained declarations
area: wasm
WebAssembly modules (lib/wasm-*)
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|