25 lines
544 B
TOML
25 lines
544 B
TOML
|
[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"
|