Move assets-related files into the assets

...directory
This commit is contained in:
Oliver Davies 2024-07-30 20:19:27 +01:00
parent 26abf2b941
commit 22d7d4e57e
6 changed files with 9 additions and 7 deletions

2
.gitignore vendored
View file

@ -6,5 +6,5 @@
/.direnv/
/node_modules/
/assets/node_modules/
/source/build/

View file

@ -5,8 +5,8 @@ import typographyPlugin from "@tailwindcss/typography";
export default {
content: [
"./app/config/**/*.yml",
"./source/**/*.{md,twig}",
"../app/config/**/*.yml",
"../source/**/*.{md,twig}",
],
theme: {
colors: {

View file

@ -12,5 +12,5 @@ flake:
git:
ignore:
- '/assets/node_modules/'
- '/source/build/'
- '/node_modules/'

View file

@ -58,9 +58,11 @@ function npm:build:css {
args=(--watch)
fi
npx tailwindcss \
--config assets/tailwind.config.ts \
--output source/build/tailwind.css "${args[@]}"
cd assets || exit
tailwindcss \
--config tailwind.config.ts \
--output ../source/build/tailwind.css "${args[@]}"
}
function publish {