Skip to content

Commit b45ea77

Browse files
committed
added minify flag to prod
1 parent 2ad64b4 commit b45ea77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
env:
3030
NODE_AUTH_TOKEN: ${{ secrets.FONTAWESOME_AUTH_TOKEN }}
3131
- name: Build
32-
run: hugo
32+
run: hugo --minify
3333
- name: Upload artifact
3434
uses: actions/upload-pages-artifact@v3
3535
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"clean": "rm -r public",
88
"build": "hugo",
99
"dev": "hugo server --environment=development",
10-
"serve": "hugo server --environment=production",
10+
"serve": "hugo server --environment=production --minify",
1111
"test": "echo \"Error: no test specified\" && exit 1"
1212
},
1313
"author": "Sebastian Stenzel",

0 commit comments

Comments
 (0)