Understand the structure of the Edge Runtime directory
mainThe edge-runtime/ directory is organized into three functional sub-directories:
lib/: Contains files that are imported by the generated edge functions.shim/: Contains code fragments that are inlined into the generated edge functions. Warning: Do not import files fromshim/anywhere in your application; they are not complete programs and will fail if imported directly.vendor/: Contains third-party dependencies used by the edge functions. These are pulled in ahead of time to prevent build-time dependencies on package registries.