Skip to content

Commit 587076b

Browse files
committed
Add some reasons to external packages
1 parent 12cc60a commit 587076b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/next/src/lib/server-external-packages.jsonc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@sparticuz/chromium",
1818
"@sparticuz/chromium-min",
1919
"@statsig/statsig-node-core",
20+
// Native Node.js addons
2021
"@swc/core",
2122
"@xenova/transformers",
2223
"argon2",
@@ -34,10 +35,13 @@
3435
"express",
3536
"firebase-admin",
3637
"htmlrewriter",
38+
// Patches the module system to shim modules
3739
"import-in-the-middle",
3840
"isolated-vm",
3941
"jest",
4042
"jsdom",
43+
// Used to contain a very dynamic require to load the DB backend:
44+
// https://github.com/jaredwray/keyv/blob/78b247b5b7a8c9b12154fbfae4295d6fb29158cf/packages/keyv/src/index.js#L22
4145
"keyv",
4246
"libsql",
4347
"mdx-bundler",
@@ -60,8 +64,10 @@
6064
"puppeteer",
6165
"puppeteer-core",
6266
"ravendb",
67+
// Patches the module system to shim modules
6368
"require-in-the-middle",
6469
"rimraf",
70+
// Native Node.js addons
6571
"sharp",
6672
"shiki",
6773
"sqlite3",

0 commit comments

Comments
 (0)