loi_re/netlify.toml

25 lines
544 B
TOML
Raw Normal View History

2021-03-18 15:50:09 +01:00
[build]
publish = "public"
functions = "functions"
[dev]
framework = "#custom"
command = "npx hugo server --disableFastRender"
targetPort = 1313
port = 8888
publish = "public"
autoLaunch = false
[build.environment]
NODE_VERSION = "15.5.1"
NPM_VERSION = "7.3.0"
[context.production]
command = "npx hugo --gc --minify -b $URL && npm run build:functions"
[context.deploy-preview]
command = "npx hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "npx hugo --gc --minify -b $DEPLOY_PRIME_URL"