Initial commit
This commit is contained in:
commit
bd3fce7e64
25 changed files with 888 additions and 0 deletions
22
run
Executable file
22
run
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
|
||||
function yarn:build:css {
|
||||
# Build the CSS assets, this is intended to be run within the "assets" container.
|
||||
|
||||
local args=()
|
||||
|
||||
if [[ "$NODE_ENV" == "development" ]]; then
|
||||
args=(--watch)
|
||||
else
|
||||
args=(--minify)
|
||||
fi
|
||||
|
||||
tailwindcss \
|
||||
--config assets/tailwind.config.js \
|
||||
--content "templates/**/*.html.twig" \
|
||||
--input assets/css/tailwind.css \
|
||||
--output public/build/tailwind.css \
|
||||
"${args[@]}"
|
||||
}
|
||||
|
||||
eval "${@}"
|
Loading…
Add table
Add a link
Reference in a new issue