mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add more examples for functions config
This commit is contained in:
parent
45a0cd3cf0
commit
80dc0ed9e4
1 changed files with 13 additions and 1 deletions
14
netlify.toml
14
netlify.toml
|
|
@ -3,8 +3,20 @@
|
|||
command = "npm run netlify-build"
|
||||
|
||||
|
||||
# https://docs.netlify.com/configure-builds/file-based-configuration/#functions
|
||||
[functions]
|
||||
directory = "dist/functions"
|
||||
# Sets a custom directory for Netlify Functions
|
||||
directory = "dist/functions"
|
||||
|
||||
# Specifies `esbuild` for functions bundling
|
||||
# node_bundler = "esbuild"
|
||||
|
||||
# Flags "astro" as an external node module for all functions
|
||||
# external_node_modules = ["astro"]
|
||||
|
||||
# Includes all Markdown files inside the "files/" directory.
|
||||
# included_files = ["files/*.md"]
|
||||
|
||||
|
||||
|
||||
[build.environment]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue