Skip to content

Commit

Permalink
updated tailwind config and npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
harvanchik committed Dec 10, 2021
1 parent 01cf107 commit 1ac2a92
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion assets/styles/styles.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"author": "Jake Harvanchik",
"main": "index.js",
"scripts": {
"dev": "npx tailwindcss -i ./assets/styles/tailwind.css -o ./assets/styles/styles.css --watch --jit --purge ./**/*.html",
"prod": "cross-env NODE_ENV=production npx tailwindcss -i ./assets/styles/tailwind.css -o ./assets/styles/styles.css --minify",
"dev": "npx tailwindcss -i ./assets/styles/tailwind.css -o ./assets/styles/styles.css --watch",
"prod": "npx tailwindcss -i ./assets/styles/tailwind.css -o ./assets/styles/styles.css --minify",
"gulp": "gulp",
"updates": "ncu"
},
Expand Down
13 changes: 2 additions & 11 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
module.exports = {
mode: 'jit',
purge: {
// enabled: true,
content: ['./*.html', './**/*.html'],
options: {
keyframes: true
}
},
content: ['./**/*.html'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
},
plugins: [
require("@tailwindcss/forms")
],
plugins: [require("@tailwindcss/forms")],
};

0 comments on commit 1ac2a92

Please sign in to comment.