From 4a8eae5099f066170d4240974eb09257671bfbbd Mon Sep 17 00:00:00 2001 From: Bharat Singh Bhadwal Date: Sat, 19 Apr 2025 18:03:25 +0530 Subject: [PATCH] fix: netlify build configuration --- netlify.toml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/netlify.toml b/netlify.toml index e5add4d..f2740ed 100644 --- a/netlify.toml +++ b/netlify.toml @@ -6,16 +6,10 @@ # HUGO_THEME = "repo" [context.production] - command = "hugo --gc --themesDir ../.. -b ${URL}" + command = "hugo --gc --minify -b ${URL}" [context.production.environment] HUGO_ENV = "production" -[context.branch-deploy] - command = "hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}" - -[context.deploy-preview] - command = "hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}" - [[plugins]] package = "netlify-plugin-hugo-cache-resources"