70bf21e064
Deploy (to testing) and Test Playground Preview Worker / Deploy Playground Preview Worker (testing) (push) Has been skipped
Deploy Workers Shared Staging / Deploy Workers Shared Staging (push) Failing after 0s
Prerelease / build (push) Has been skipped
Handle Changesets / Handle Changesets (push) Has been cancelled
Semgrep OSS scan / semgrep-oss (push) Has been cancelled
16 lines
573 B
TypeScript
16 lines
573 B
TypeScript
/**
|
|
* Dependencies that _are not_ bundled along with @cloudflare/vite-plugin.
|
|
*
|
|
* These must be explicitly documented with a reason why they cannot be bundled.
|
|
* This list is validated by `tools/deployments/validate-package-dependencies.ts`.
|
|
*/
|
|
export const EXTERNAL_DEPENDENCIES = [
|
|
// Must be external - resolved at runtime when bundling user's worker code
|
|
// to provide Node.js compatibility polyfills
|
|
"unenv",
|
|
|
|
// Has optional native bindings (bufferutil, utf-8-validate) for performance;
|
|
// commonly shared with other packages to avoid duplication
|
|
"ws",
|
|
];
|