Patch Changes
-
#1319
69bdc97Thanks @ascorbic! - Fixrequire is not definedcrash on every EmDash API route underastro devon Cloudflare Workers (#1292).@emdash-cms/registry-clientlistedsemver(CommonJS) independencies, which the build externalizes -- so consumers loaded a nested CJS copy. Vite's SSR module runner (workerd) evaluates modules with norequirebinding, so semver's internalrequire()threw and took down any route whose import graph reached registry-client (schema, plugins, env compatibility checks). semver is now bundled into the ESM output, so nothing CommonJS reaches the worker.