fix: update build script and tailwind config paths
This commit is contained in:
1 parent
57e8fc8659
commit
26e158161b
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build"
|
"build": "vite build && postcss src/styles.css -o dist/output.css"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: [
|
content: [
|
||||||
|
"./index.html",
|
||||||
|
"./user.html",
|
||||||
|
"./login.html",
|
||||||
|
"./submit.html",
|
||||||
|
"./single-post.html",
|
||||||
"./src/**/*.{html,js}",
|
"./src/**/*.{html,js}",
|
||||||
"./public/**/*.{html,js}"
|
"./public/**/*.{html,js}"
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in new issue
Block a user