Skip to content

Commit

Permalink
Fix Tailwind purge setup
Browse files Browse the repository at this point in the history
  • Loading branch information
badlydrawnben committed Dec 13, 2020
1 parent 202755a commit 97887ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.0.0",
"description": "It's (j)ust (e)leventy and (t)ailwind … OK, and a few other things; it's still *really* small though.",
"scripts": {
"clean": "",
"clean": "rm -rf public src/css/styles.css",
"dev": "npm run clean && postcss src/css/tailwind.css > src/css/styles.css && eleventy --serve",
"build": "npm run clean && NODE_ENV=production postcss src/css/tailwind.css > src/css/styles.css && eleventy"
},
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
purge: {
content: ['./src/**/*.html', './src/**/*.md']
content: ['./src/**/*.njk', './src/**/*.md']
},
darkMode: false, // or 'media' or 'class'
theme: {
Expand Down

0 comments on commit 97887ef

Please sign in to comment.