aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-09-09 22:37:53 -0400
committerXe Iaso <me@xeiaso.net>2023-09-09 22:37:53 -0400
commit8eb7eaf80084346f07dc573a641b077a000982f1 (patch)
tree9947e6d886e200b7c24786f91ee9ad9159a774a7 /package.json
parent3035f885636c72bd62329af3dc82efc74bc6ad09 (diff)
downloadxesite-8eb7eaf80084346f07dc573a641b077a000982f1.tar.xz
xesite-8eb7eaf80084346f07dc573a641b077a000982f1.zip
fix HTML template rendering
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 5 insertions, 3 deletions
diff --git a/package.json b/package.json
index 5bfd3ee..a309496 100644
--- a/package.json
+++ b/package.json
@@ -9,8 +9,10 @@
"lib": "lib"
},
"scripts": {
- "build": "tailwindcss build -o static/css/tailwind.css",
- "watch:css": "tailwindcss build -o static/css/tailwind.css --watch",
+ "build:css": "tailwindcss build -i static/css/preflight.css -o static/css/tailwind.css",
+ "build:posts": "go generate ./internal/embedded",
+ "build:xemd2html": "cd ./lib/xesite_markdown && cargo build --bin xemd2html --target wasm32-wasi --release && cd ../.. && cp ./target/wasm32-wasi/release/xemd2html.wasm ./bin",
+ "watch:css": "tailwindcss build -i static/css/preflight.css -o static/css/tailwind.css --watch",
"watch:posts": "bash ./scripts/rebuild.sh"
},
"repository": {
@@ -28,4 +30,4 @@
"@tailwindcss/typography": "^0.5.10",
"tailwindcss": "^3.3.3"
}
-}
+} \ No newline at end of file