From 5c26def0477a6b769cf886cf1df5264b4d33f6d9 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Mon, 12 Aug 2024 09:09:56 +0200 Subject: [PATCH 1/2] Add node-cron to server externals --- packages/next/src/lib/server-external-packages.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/next/src/lib/server-external-packages.json b/packages/next/src/lib/server-external-packages.json index 6dde1971f0667..1514559532c9d 100644 --- a/packages/next/src/lib/server-external-packages.json +++ b/packages/next/src/lib/server-external-packages.json @@ -35,6 +35,7 @@ "mongoose", "next-mdx-remote", "next-seo", + "node-cron", "node-pty", "node-web-audio-api", "oslo", From 410ffe6acf5d28e2a2299690cc584abba1ce4bab Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Mon, 12 Aug 2024 09:13:57 +0200 Subject: [PATCH 2/2] Update docs --- .../05-next-config-js/serverExternalPackages.mdx | 1 + .../04-next-config-js/serverExternalPackages.mdx | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/02-app/02-api-reference/05-next-config-js/serverExternalPackages.mdx b/docs/02-app/02-api-reference/05-next-config-js/serverExternalPackages.mdx index 2583ab63d98ce..69db126a2230f 100644 --- a/docs/02-app/02-api-reference/05-next-config-js/serverExternalPackages.mdx +++ b/docs/02-app/02-api-reference/05-next-config-js/serverExternalPackages.mdx @@ -54,6 +54,7 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne - `mongoose` - `next-mdx-remote` - `next-seo` +- `node-cron` - `node-pty` - `node-web-audio-api` - `oslo` diff --git a/docs/03-pages/02-api-reference/04-next-config-js/serverExternalPackages.mdx b/docs/03-pages/02-api-reference/04-next-config-js/serverExternalPackages.mdx index dcb66eb0abdeb..fcfda1a76fe76 100644 --- a/docs/03-pages/02-api-reference/04-next-config-js/serverExternalPackages.mdx +++ b/docs/03-pages/02-api-reference/04-next-config-js/serverExternalPackages.mdx @@ -54,6 +54,7 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne - `mongoose` - `next-mdx-remote` - `next-seo` +- `node-cron` - `node-pty` - `node-web-audio-api` - `oslo`