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
12
netlify.toml
12
netlify.toml
|
|
@ -3,9 +3,21 @@
|
||||||
command = "npm run netlify-build"
|
command = "npm run netlify-build"
|
||||||
|
|
||||||
|
|
||||||
|
# https://docs.netlify.com/configure-builds/file-based-configuration/#functions
|
||||||
[functions]
|
[functions]
|
||||||
|
# Sets a custom directory for Netlify Functions
|
||||||
directory = "dist/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]
|
[build.environment]
|
||||||
NPM_FLAGS = "--no-optional"
|
NPM_FLAGS = "--no-optional"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue