2021-03-18 15:50:09 +01:00
|
|
|
[build]
|
|
|
|
publish = "public"
|
|
|
|
functions = "functions"
|
|
|
|
|
|
|
|
[build.environment]
|
2021-06-25 16:49:17 +02:00
|
|
|
NODE_VERSION = "16.3.0"
|
|
|
|
NPM_VERSION = "7.16.0"
|
2021-03-18 15:50:09 +01:00
|
|
|
|
|
|
|
[context.production]
|
2021-09-07 13:04:58 +02:00
|
|
|
command = "npm run build"
|
2021-03-18 15:50:09 +01:00
|
|
|
|
|
|
|
[context.deploy-preview]
|
2021-09-07 13:04:58 +02:00
|
|
|
command = "npm run build -- -b $DEPLOY_PRIME_URL"
|
2021-03-18 15:50:09 +01:00
|
|
|
|
|
|
|
[context.branch-deploy]
|
2021-09-07 13:04:58 +02:00
|
|
|
command = "npm run build -- -b $DEPLOY_PRIME_URL"
|
2021-04-02 20:27:40 +02:00
|
|
|
|
|
|
|
[context.next]
|
2021-09-07 13:04:58 +02:00
|
|
|
command = "npm run build"
|
2021-04-02 20:27:40 +02:00
|
|
|
|
|
|
|
[context.next.environment]
|
|
|
|
HUGO_ENV = "next"
|
|
|
|
|
|
|
|
[dev]
|
|
|
|
framework = "#custom"
|
2021-09-07 13:04:58 +02:00
|
|
|
command = "npm run start"
|
2021-04-02 20:27:40 +02:00
|
|
|
targetPort = 1313
|
|
|
|
port = 8888
|
|
|
|
publish = "public"
|
|
|
|
autoLaunch = false
|