We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 730e447 commit 7a059e3Copy full SHA for 7a059e3
1 file changed
netlify.toml
@@ -4,8 +4,9 @@
4
5
[build]
6
publish = "public"
7
+command = "npm install --save-dev autoprefixer && npm install --save-dev postcss-cli && npm install -D postcss && hugo --gc --minify --baseURL $URL"
8
+[context.deploy-preview]
9
command = "npm install --save-dev autoprefixer && npm install --save-dev postcss-cli && npm install -D postcss && hugo --gc --minify --baseURL $DEPLOY_PRIME_URL"
-
10
[context.production.environment]
11
HUGO_VERSION = "0.145.0"
12
HUGO_ENV = "production"
0 commit comments