Skip to content

Commit

Permalink
[backend] feat: netlify build
Browse files Browse the repository at this point in the history
  • Loading branch information
helloitsdave committed Feb 11, 2024
1 parent 4d99b6b commit 69076ed
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions backend/netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[build]
command = "npm install && npm run build:netlify"
functions = "src"
[functions]
external_node_modules = ["express"]
node_bundler = "esbuild"
[[redirects]]
force = true
from = "/api/*"
status = 200
to = "/.netlify/functions/api/:splat"

1 comment on commit 69076ed

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

100.00%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   index.ts100%100%100%
   prisma.ts100%100%100%
src/__mocks__
   prisma.ts100%100%100%

Please sign in to comment.