Initial commit

This commit is contained in:
Oliver Davies 2022-03-15 18:22:18 +00:00
commit 904a0b0bbf
26 changed files with 4847 additions and 0 deletions

21
run Executable file
View file

@ -0,0 +1,21 @@
#!/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 \
--content "source/**/*.{html,md,twig}" \
--input assets/css/tailwind.css \
--output source/dist/build.css \
"${args[@]}"
}
eval "${@}"