Skip to content

Commit ba82cf4

Browse files
bomsyclaude
andcommitted
Upgrade the benchmark bundler to webpack 5
webpack 4 could not parse the `import.meta.url` that wasm-bindgen emits into the browser glue. That specific blocker is gone now that build.sh strips it, but webpack 4 is six years old and its webpack-cli 3 pairing is long unmaintained, so move the benchmark to webpack 5. The upgrade surfaced one real bug in the library, fixed separately in 64191de: webpack 5 no longer polyfills Node core modules, which exposed a dead `require("url")` fallback in lib/url.js. Commit a lockfile as well. The benchmark had none, so `npm install` here previously resolved whatever was current, which is how the webpack 4 tree drifted far enough to break in the first place. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
1 parent 64191de commit ba82cf4

2 files changed

Lines changed: 1280 additions & 2 deletions

File tree

0 commit comments

Comments
 (0)