Fix tailwind purging and improve HMR
This commit is contained in:
@@ -7,6 +7,20 @@ module.exports = {
|
|||||||
'./app/**/*.{ts,tsx}',
|
'./app/**/*.{ts,tsx}',
|
||||||
'./src/**/*.{ts,tsx}',
|
'./src/**/*.{ts,tsx}',
|
||||||
],
|
],
|
||||||
|
safelist: [
|
||||||
|
'xl:hidden',
|
||||||
|
'xl:relative',
|
||||||
|
'xl:inset-auto',
|
||||||
|
'xl:z-auto',
|
||||||
|
'xl:h-full',
|
||||||
|
'xl:w-[800px]',
|
||||||
|
'xl:flex',
|
||||||
|
'xl:flex-1',
|
||||||
|
'xl:min-w-0',
|
||||||
|
'xl:overflow-y-auto',
|
||||||
|
'xl:opacity-100',
|
||||||
|
'xl:pointer-events-auto',
|
||||||
|
],
|
||||||
prefix: "",
|
prefix: "",
|
||||||
theme: {
|
theme: {
|
||||||
container: {
|
container: {
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
"name": "vibe-kanban",
|
"name": "vibe-kanban",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently \"cargo watch -x 'run --manifest-path backend/Cargo.toml'\" \"npm run frontend:dev\"",
|
"dev": "concurrently \"cargo watch -w backend -x 'run --manifest-path backend/Cargo.toml'\" \"npm run frontend:dev\"",
|
||||||
"build": "npm run frontend:build && cargo build --release --manifest-path backend/Cargo.toml",
|
"build": "npm run frontend:build && cargo build --release --manifest-path backend/Cargo.toml",
|
||||||
"build:single": "npm run frontend:build && cargo build --release --manifest-path backend/Cargo.toml",
|
"build:single": "npm run frontend:build && cargo build --release --manifest-path backend/Cargo.toml",
|
||||||
"frontend:dev": "cd frontend && npm run dev",
|
"frontend:dev": "cd frontend && npm run dev",
|
||||||
"frontend:build": "cd frontend && npm run build",
|
"frontend:build": "cd frontend && npm run build",
|
||||||
"backend:dev": "cargo watch -x 'run --manifest-path backend/Cargo.toml'",
|
"backend:dev": "cargo watch -w backend -x 'run --manifest-path backend/Cargo.toml'",
|
||||||
"backend:build": "cargo build --release --manifest-path backend/Cargo.toml",
|
"backend:build": "cargo build --release --manifest-path backend/Cargo.toml",
|
||||||
"backend:run": "cargo run --manifest-path backend/Cargo.toml",
|
"backend:run": "cargo run --manifest-path backend/Cargo.toml",
|
||||||
"backend:test": "cargo test --lib",
|
"backend:test": "cargo test --lib",
|
||||||
|
|||||||
Reference in New Issue
Block a user