From fc397caa6f57b5ec19e2952ec1ed7fe280dd109c Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Tue, 1 Nov 2022 07:41:57 -0700 Subject: [PATCH] Add sqlite3 to the default list of server externals (#42294) Related discussions: https://github.com/vercel/next.js/discussions/41745#discussioncomment-4018964 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm build && pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) --- packages/next/lib/server-external-packages.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/next/lib/server-external-packages.ts b/packages/next/lib/server-external-packages.ts index 5fc42d5ef761..09b76e00a553 100644 --- a/packages/next/lib/server-external-packages.ts +++ b/packages/next/lib/server-external-packages.ts @@ -17,4 +17,5 @@ export const EXTERNAL_PACKAGES = [ 'next-seo', 'rimraf', 'next-mdx-remote', + 'sqlite3', ]