-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs-infra] Upgrade next to v14.2.14 #43964
Conversation
@@ -56,7 +56,8 @@ export default withDocsInfra({ | |||
// We only care about Node runtime at this point. | |||
(options.nextRuntime === undefined || options.nextRuntime === 'nodejs') | |||
) { | |||
const [nextExternals, ...externals] = config.externals; | |||
const externals = config.externals.slice(0, config.externals.length - 2); | |||
const nextExternals = config.externals.at(-1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nextExternals
is the last element in the array since Next.js v14.2.14
Netlify deploy previewhttps://deploy-preview-43964--material-ui.netlify.app/ Bundle size reportBundle size will be reported once CircleCI build #755879 finishes. |
Ouch, more problems after |
df97dca
to
6c75573
Compare
This is fix is now part of #43555 |
Next.js v14.2.14 introduced a change that broke our docs build. We discovered this after running
pnpm dedupe
in a release PR. See #43957 (comment) for more info.This change in Next.js was the culprit: https://github.com/vercel/next.js/pull/70382/files#diff-5f441142eb8ba9bcba515aa36fbc420a113307bd191e54a4e9e6c43529fc2613R861