Commit 74455cb
fix(docs): pin webpack to 5.88.2 to unbreak Docusaurus build (#74)
* fix(docs): pin webpack to 5.88.2 to unbreak Docusaurus build
yarn build failed because webpack floated up to 5.108.4, which validates ProgressPlugin's this.options via a deferred compiler.hooks.validate check. webpackbar (extended by Docusaurus' LogPlugin) overwrites this.options with {name,color,reporters,reporter,...}, so that schema validation throws before any content is compiled.
Pin webpack to 5.88.2 via yarn resolutions: constructor-time validation (pre-refactor), past the md4/OpenSSL-3 break, and within Docusaurus' ^5.40.0. Commit yarn.lock as the single lockfile since CI installs with yarn, and drop the vestigial package-lock.json that yarn ignored (the source of the version drift).
---------
Co-authored-by: rajuGT <raju.gt@gojek.com>1 parent 5583474 commit 74455cb
3 files changed
Lines changed: 10577 additions & 26409 deletions
0 commit comments