Skip to content

Commit

Permalink
Update netlify config to use esbuild bundler for functions
Browse files Browse the repository at this point in the history
This is to fix the issue in netlify build:
"Dependencies installation error"
Ref: sveltejs/kit#2523 (comment)
  • Loading branch information
Phani Rahul Sivalenka committed Oct 30, 2021
1 parent d7f635b commit aec1a00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[build]
command = "npm run build"
publish = "build"
publish = "build"

[functions]
node_bundler = "esbuild"

0 comments on commit aec1a00

Please sign in to comment.