Move assets-related files into the assets
...directory
This commit is contained in:
parent
26abf2b941
commit
22d7d4e57e
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -6,5 +6,5 @@
|
|||
|
||||
/.direnv/
|
||||
|
||||
/node_modules/
|
||||
/assets/node_modules/
|
||||
/source/build/
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -12,5 +12,5 @@ flake:
|
|||
|
||||
git:
|
||||
ignore:
|
||||
- '/assets/node_modules/'
|
||||
- '/source/build/'
|
||||
- '/node_modules/'
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue