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/
|
/.direnv/
|
||||||
|
|
||||||
/node_modules/
|
/assets/node_modules/
|
||||||
/source/build/
|
/source/build/
|
||||||
|
|
|
@ -5,8 +5,8 @@ import typographyPlugin from "@tailwindcss/typography";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
content: [
|
content: [
|
||||||
"./app/config/**/*.yml",
|
"../app/config/**/*.yml",
|
||||||
"./source/**/*.{md,twig}",
|
"../source/**/*.{md,twig}",
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
colors: {
|
colors: {
|
||||||
|
|
|
@ -12,5 +12,5 @@ flake:
|
||||||
|
|
||||||
git:
|
git:
|
||||||
ignore:
|
ignore:
|
||||||
|
- '/assets/node_modules/'
|
||||||
- '/source/build/'
|
- '/source/build/'
|
||||||
- '/node_modules/'
|
|
||||||
|
|
|
@ -58,9 +58,11 @@ function npm:build:css {
|
||||||
args=(--watch)
|
args=(--watch)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
npx tailwindcss \
|
cd assets || exit
|
||||||
--config assets/tailwind.config.ts \
|
|
||||||
--output source/build/tailwind.css "${args[@]}"
|
tailwindcss \
|
||||||
|
--config tailwind.config.ts \
|
||||||
|
--output ../source/build/tailwind.css "${args[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function publish {
|
function publish {
|
||||||
|
|
Loading…
Reference in a new issue