From 8eb7eaf80084346f07dc573a641b077a000982f1 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 9 Sep 2023 22:37:53 -0400 Subject: fix HTML template rendering Signed-off-by: Xe Iaso --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'package.json') 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 -- cgit v1.2.3