From 11d0d14a7129317b969d25514f2c17dcdcea7b2e Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Fri, 19 Apr 2024 21:11:24 +0200 Subject: [PATCH] Update Netlify settings --- netlify.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/netlify.toml b/netlify.toml index 582fe86..7259923 100644 --- a/netlify.toml +++ b/netlify.toml @@ -9,16 +9,16 @@ HUGO_VERSION = "0.124.0" NPM_VERSION = "10.2.4" [context.production] - command = "npm run build" + command = "hugo --minify --gc" [context.deploy-preview] - command = "npm run build -- -b $DEPLOY_PRIME_URL" + command = "hugo --minify --gc -b $DEPLOY_PRIME_URL" [context.branch-deploy] - command = "npm run build -- -b $DEPLOY_PRIME_URL" + command = "hugo --minify --gc -b $DEPLOY_PRIME_URL" [context.next] - command = "npm run build" + command = "hugo --minify --gc" [context.next.environment] HUGO_ENV = "next"