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"