From 41d7ee0cb249298d617c81a83186b2c69f2b035a Mon Sep 17 00:00:00 2001 From: Steven Spriggs Date: Thu, 21 Nov 2024 12:58:41 -0500 Subject: [PATCH] fix: remove bundle process from netlify.toml --- netlify.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/netlify.toml b/netlify.toml index 601695d89..76bd4ab2b 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] publish = "public" - command = "npm run bundle && hugo --gc --minify && cp public/experts/_redirects public/_redirects" + command = "hugo --gc --minify && cp public/experts/_redirects public/_redirects" [build.environment] HUGO_VERSION = "0.118.2" @@ -10,16 +10,16 @@ HUGO_ENABLEGITINFO = "true" [context.split1] - command = "npm run bundle && hugo --gc --minify --enableGitInfo && cp public/experts/_redirects public/_redirects" + command = "hugo --gc --minify --enableGitInfo && cp public/experts/_redirects public/_redirects" [context.split1.environment] HUGO_ENV = "production" [context.deploy-preview] - command = "npm run bundle && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL/experts/ && cp public/experts/_redirects public/_redirects" + command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL/experts/ && cp public/experts/_redirects public/_redirects" [context.branch-deploy] - command = "npm run bundle && hugo --gc --minify -b $DEPLOY_PRIME_URL/experts/ && cp public/experts/_redirects public/_redirects" + command = "hugo --gc --minify -b $DEPLOY_PRIME_URL/experts/ && cp public/experts/_redirects public/_redirects" [context.next.environment] HUGO_ENABLEGITINFO = "true"