2024-08-05
This commit is contained in:
parent
8e75a421d2
commit
68b42420a3
1004 changed files with 367652 additions and 42 deletions
19
justfile
19
justfile
|
|
@ -31,3 +31,22 @@ format:
|
|||
--write \
|
||||
.
|
||||
dprint fmt
|
||||
|
||||
# Compile, minifie et optimise Sass vers CSS
|
||||
build-css:
|
||||
pnpm sass \
|
||||
--update \
|
||||
"web/app/themes/haiku-atelier-2024/src/sass":"web/app/themes/haiku-atelier-2024/assets/css"
|
||||
pnpm lightningcss \
|
||||
--bundle \
|
||||
--minify \
|
||||
--output-file "web/app/themes/haiku-atelier-2024/assets/css/main.min.css" \
|
||||
--sourcemap \
|
||||
-- "web/app/themes/haiku-atelier-2024/assets/css/main.css"
|
||||
|
||||
# Compile le CSS à chaque changement de fichier
|
||||
watch-css:
|
||||
pnpm sass \
|
||||
--update \
|
||||
--watch \
|
||||
"web/app/themes/haiku-atelier-2024/src/sass":"web/app/themes/haiku-atelier-2024/assets/css"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue