This app uses pnpm
to generate license info from the apps/app
application to a json file. The astro app (apps/web
) will import the json file and render it.
We've seen that you have to explicit set the output dir to .vercel/output/static
to make this work
If i push a commit vercel will error with this 😧
{
"code": "ERR_PNPM_MISSING_PACKAGE_INDEX_FILE",
"message": "Failed to find package index file for express@4.19.2, please consider running 'pnpm install'"
}
TODO: make one here https://github.com/vercel/vercel/blob/fd069f184d94a41cfcc427e8249418e122a4bf71/packages/frameworks/src/frameworks.ts#L274