Skip to content

fix(docusaurus): update and fix webpack issue#1685

Merged
silviuaavram merged 2 commits into
masterfrom
dev/fix-cypress-build
May 18, 2026
Merged

fix(docusaurus): update and fix webpack issue#1685
silviuaavram merged 2 commits into
masterfrom
dev/fix-cypress-build

Conversation

@silviuaavram
Copy link
Copy Markdown
Collaborator

@silviuaavram silviuaavram commented May 18, 2026

Pull Request

What

Update docusaurus and fix the test:cypress script.

Why

Move forward with development.

How

Claude Opus 4.7 mostly.

Changes

Update docusaurus.
Change babel config to return the docusaurus preset when it's used by docusaurus build. Also include plugin macros.

Checklist

  • Documentation
  • Tests
  • TypeScript Types
  • Ready to be merged

Copilot AI review requested due to automatic review settings May 18, 2026 07:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Docusaurus dependency set and adjusts build configuration so the docs site can build with the newer Docusaurus/Webpack behavior.

Changes:

  • Upgrades Docusaurus packages from 3.3.2 to 3.10.1.
  • Adds a Webpack rule to relax fully specified ESM resolution.
  • Updates Babel config to use Docusaurus’s Babel preset for Docusaurus client/server builds while preserving macros support.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
package.json Updates Docusaurus-related devDependencies.
docusaurus/plugins/webpack5polyfills.js Adds Webpack module resolution behavior for .js/.mjs files.
babel.config.js Branches Babel configuration for Docusaurus callers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
Comment thread package.json
@silviuaavram silviuaavram merged commit efe364e into master May 18, 2026
4 checks passed
@silviuaavram silviuaavram deleted the dev/fix-cypress-build branch May 18, 2026 08:27
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 9.3.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants