Skip to content

Commit

Permalink
script: add minifying of tailwind css file to build
Browse files Browse the repository at this point in the history
  • Loading branch information
ning-sy210 committed Nov 23, 2023
1 parent 4fcf7ce commit c8cff72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"tailwind": "npx tailwindcss -i ./src/global.css -o ./dist/output.css --watch",
"dev": "vite",
"build": "tsc && vite build",
"build": "npx tailwindcss -o ./dist/output.css --minify && tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
Expand Down

0 comments on commit c8cff72

Please sign in to comment.