1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-02-02 15:18:37 +00:00
_/vercel-fastify
dependabot[bot] bc5ef19ecc
Bump semver from 6.3.0 to 6.3.1 in /vercel-fastify
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-09 08:21:32 +00:00
..
api create vercel-fastify 2022-04-26 17:24:49 +09:00
public create vercel-fastify 2022-04-26 17:24:49 +09:00
src create vercel-fastify 2022-04-26 17:24:49 +09:00
.gitignore create vercel-fastify 2022-04-26 17:24:49 +09:00
package.json create vercel-fastify 2022-04-26 17:24:49 +09:00
README.md create vercel-fastify 2022-04-26 17:24:49 +09:00
vercel.json create vercel-fastify 2022-04-26 17:24:49 +09:00
yarn.lock Bump semver from 6.3.0 to 6.3.1 in /vercel-fastify 2023-11-09 08:21:32 +00:00

何をしたかったか

Fastify と fastify-autoload を使って Vercel にデプロイできるかどうかチェック。

Deploy with Vercel

結果

cjs かつ includeFiles に含めればとりあえず OK。 全部含めるなら ** でよい。

{
  "functions": { "api/index.js": { "includeFiles": "**" } }
}

TypeScript の場合は、vercel-build にビルドコマンドを指定する & ビルド後に生成されるファイルを指定する。(vercel.json を参照) そういった設定をせず Vercel に任せると vercel dev では問題ないが、デプロイすると参照に失敗して 500 エラー。