portails/netlify.toml

31 lines
559 B
TOML

[build]
publish = "public"
functions = "functions"
[build.environment]
NODE_VERSION = "16.9.1"
NPM_VERSION = "7.21.1"
[context.production]
command = "npm run build"
[context.deploy-preview]
command = "npm run build -- -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "npm run build -- -b $DEPLOY_PRIME_URL"
[context.next]
command = "npm run build"
[context.next.environment]
HUGO_ENV = "next"
[dev]
framework = "#custom"
command = "npm run start"
targetPort = 1313
port = 8888
publish = "public"
autoLaunch = false