juliusmarminge / hono-vercel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems:

  • vc dev fails to compile the function cause it's unable to resolve workspace dependencies: CleanShot 2024-04-29 at 12 26 26@2x

  • vc build reports type errors for dependencies that have declaration statements in them. For example the .openapi() function on the zod schemas aren't recognized as valid, even though they're added by @asteasolutions/zod-to-openapi (dependency of @hono/zod-openapi): CleanShot 2024-04-29 at 12 26 35@2x

  • vc build outputs .js files with cjs format, even though the package.json#type is set to module. This causes ReferenceError: exports is not defined when the function is invoked: CleanShot 2024-04-29 at 12 27 48@2x

  • vc build output references to files that doesn't exist? In the .vc-config.json file there's a reference to packages/validators/node_modules/@hono/zod-openapi but that doesn't exist in the built output: CleanShot 2024-04-29 at 12 35 54@2x

About


Languages

Language:TypeScript 100.0%