feat: add --minify
arg in the build command (#8)
This commit is contained in:
parent
27c04d3d0f
commit
810c8740c2
2 changed files with 2 additions and 2 deletions
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
|
@ -17,7 +17,7 @@
|
||||||
{
|
{
|
||||||
"label": "Build",
|
"label": "Build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "hugo",
|
"command": "hugo --minify",
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
"isDefault": true
|
"isDefault": true
|
||||||
|
|
|
@ -43,7 +43,7 @@ If you want to build this site using another static page hosting, you need to ma
|
||||||
You need to overwrite build command to install manually Go:
|
You need to overwrite build command to install manually Go:
|
||||||
|
|
||||||
```
|
```
|
||||||
amazon-linux-extras install golang1.11 && hugo -D --gc
|
amazon-linux-extras install golang1.11 && hugo --gc --minify
|
||||||
```
|
```
|
||||||
|
|
||||||
![](https://user-images.githubusercontent.com/5889006/156917172-01e4d418-3469-4ffb-97e4-a905d28b8424.png)
|
![](https://user-images.githubusercontent.com/5889006/156917172-01e4d418-3469-4ffb-97e4-a905d28b8424.png)
|
||||||
|
|
Loading…
Reference in a new issue