Skip to content

Commit eebf5c1

Browse files
committed
Add scripts/deps.ts for external dependencies
1 parent 31442b8 commit eebf5c1

File tree

1 file changed

+11
-0
lines changed
  • packages/pages-functions/scripts

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* Dependencies that _are not_ bundled along with pages-functions.
3+
*
4+
* These must be explicitly documented with a reason why they cannot be bundled.
5+
* This list is validated by `tools/deployments/validate-package-dependencies.ts`.
6+
*/
7+
export const EXTERNAL_DEPENDENCIES = [
8+
// Native binary with platform-specific builds - cannot be bundled.
9+
// Used to parse function files and extract exports.
10+
"esbuild",
11+
];

0 commit comments

Comments
 (0)