Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@
"jss": "^10.0.3",
"jss-plugin-template": "^10.0.3",
"jss-rtl": "^0.3.0",
"lodash": "^4.17.15",
"lodash": "^4.17.23",
"lz-string": "^1.4.4",
"markdown-to-jsx": "^7.0.0",
"marked": "^1.0.0",
"material-ui-popup-state": "^1.4.1",
"next": "^9.5.0",
"next": "^10.0.6",
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

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

Upgrading Next.js from version 9.5 to 10.0 is a major version upgrade with breaking changes. Next.js 10 introduced changes to the build output, image optimization, and other features. While Next.js 10 does support webpack 5, it requires opting in via the future.webpack5: true configuration option in next.config.js. Without this configuration or without migrating to the default webpack 5 settings when they became default in later versions, the build may fail. Additionally, the PR description indicates that yarn.lock failed to update, which means dependencies may not be properly resolved.

Copilot uses AI. Check for mistakes.
"notistack": "^1.0.0",
"nprogress": "^0.2.0",
"postcss": "^8.0.6",
Expand Down Expand Up @@ -117,7 +117,7 @@
"stylis-plugin-rtl": "^1.0.0",
"stylis": "^3.5.4",
"webfontloader": "^1.6.28",
"webpack": "^4.41.0",
"webpack": "^5.0.0",
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

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

Upgrading webpack from version 4 to version 5 is a major breaking change that requires configuration updates in next.config.js. Specifically, the webpack 5 upgrade has deprecated the node.fs = 'empty' configuration option used in docs/next.config.js:96-98. This option should be replaced with resolve.fallback: { fs: false } for webpack 5 compatibility. Without this change, the build will fail or produce warnings.

Suggested change
"webpack": "^5.0.0",
"webpack": "^4.0.0",

Copilot uses AI. Check for mistakes.
"webpack-bundle-analyzer": "^3.5.1"
},
"devDependencies": {
Expand Down