feat: Add build prod command
This commit is contained in:
@ -50,6 +50,12 @@ dev_prod() {
|
||||
hugo server
|
||||
}
|
||||
|
||||
build_prod() {
|
||||
rm -rf public
|
||||
hugo --minify --environment production
|
||||
node themes/hugo-theme-lowtech/scripts/typo
|
||||
}
|
||||
|
||||
prod() {
|
||||
echo
|
||||
echo "🚀 Déploiement du site en mode production 🚀"
|
||||
|
Reference in New Issue
Block a user