Skip to content

Commit

Permalink
fix: remove bundle process from netlify.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroedin committed Nov 21, 2024
1 parent fcfc3e4 commit 41d7ee0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 41d7ee0

Please sign in to comment.