From 06bd1e1dff49b462e5eb339ce3f43598a2a493a4 Mon Sep 17 00:00:00 2001 From: Ben Hong Date: Tue, 22 Feb 2022 17:13:34 -0800 Subject: [PATCH] config (#2): add esbuild configuration for serverless functions --- netlify.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 75e97ee..781367b 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,4 +1,4 @@ -## This is the configuration file for Netlify +## This is the configuration file for Netlify ## https://docs.netlify.com/configure-builds/file-based-configuration/ [build] @@ -15,3 +15,6 @@ to = "/.netlify/functions/:splat" # all function calls will go to this path status = 200 # ok code force = true # ensure to always redirect + +[functions] + node_bundler = "esbuild"