Skip to content

Commit 47eee78

Browse files
Fix: TailwindCSS build release fix.
1 parent 21a47c2 commit 47eee78

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/pages.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,15 @@ jobs:
8282
- name: Build Tailwind CSS
8383
run: npx tailwindcss@3 --input /dev/null --content "demo/index.html,demo/main.js" --output demo/tailwind.css --minify
8484

85-
- name: Stage demo
86-
run: cp compiler/target/wasm32-unknown-unknown/release/compiler_lib.wasm demo/
87-
85+
- name: Build Tailwind CSS
86+
run: |
87+
echo "@tailwind base; @tailwind components; @tailwind utilities;" > /tmp/tw-input.css
88+
npx tailwindcss@3 \
89+
--input /tmp/tw-input.css \
90+
--content "demo/index.html,demo/main.js" \
91+
--output demo/tailwind.css \
92+
--minify
93+
8894
- name: Setup Pages
8995
uses: actions/configure-pages@v5
9096
with:

0 commit comments

Comments
 (0)