Actualizando cosas y creando cd
All checks were successful
CD for startPage / build (push) Successful in 8s
All checks were successful
CD for startPage / build (push) Successful in 8s
This commit is contained in:
17
build.sh
Executable file
17
build.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
mkdir -p public
|
||||
tailwindcss -i ./src/input.css -o ./public/style.css --minify
|
||||
cp ./src/*.png public/
|
||||
npx html-minifier --collapse-whitespace \
|
||||
--remove-comments \
|
||||
--remove-optional-tags \
|
||||
--remove-redundant-attributes \
|
||||
--remove-script-type-attributes \
|
||||
--remove-tag-whitespace \
|
||||
--use-short-doctype \
|
||||
--minify-css true \
|
||||
--minify-js true \
|
||||
--input-dir ./src/ \
|
||||
--output-dir ./public/ \
|
||||
--file-ext html
|
||||
Reference in New Issue
Block a user