fix: update build script and tailwind config paths

This commit is contained in:
Your Name (aider) committed 2025-04-28 01:21:47 +08:00
1 parent 57e8fc8659
commit 26e158161b
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"dev": "vite",
"build": "vite build"
"build": "vite build && postcss src/styles.css -o dist/output.css"
},
"author": "",
"license": "ISC",
+5
View File
@@ -1,6 +1,11 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./index.html",
"./user.html",
"./login.html",
"./submit.html",
"./single-post.html",
"./src/**/*.{html,js}",
"./public/**/*.{html,js}"
],