Skip to content

Commit 9f60640

Browse files
Fix: Implement a tailwinds config file for release.
1 parent 69730d3 commit 9f60640

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/pages.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,7 @@ jobs:
8080
working-directory: compiler
8181

8282
- name: Build Tailwind CSS
83-
run: |
84-
echo "@tailwind base; @tailwind components; @tailwind utilities;" > /tmp/tw-input.css
85-
npx tailwindcss@3 \
86-
--input /tmp/tw-input.css \
87-
--content "demo/index.html,demo/main.js" \
88-
--output demo/tailwind.css \
89-
--minify
83+
run: echo "@tailwind base;@tailwind components;@tailwind utilities;" | npx tailwindcss@3 --input - --output demo/tailwind.css --minify
9084

9185
- name: Setup Pages
9286
uses: actions/configure-pages@v5

demo/tailwind.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** @type {import('tailwindcss').Config} */
2+
module.exports = {
3+
content: ['./demo/index.html', './demo/main.js'],
4+
theme: { extend: {} },
5+
plugins: [],
6+
}

0 commit comments

Comments
 (0)