Skip to content

Commit

Permalink
chore: update PostCSS & Tailwind major version .
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 committed Dec 5, 2020
1 parent 8bf550d commit 9e0367e
Show file tree
Hide file tree
Showing 3 changed files with 498 additions and 551 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,20 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"@tailwindcss/ui": "^0.1.3",
"@tailwindcss/ui": "0.7.2",
"cssnano": "^4.1.10",
"del": "^6.0.0",
"gulp": "^4.0.2",
"gulp-clean-css": "^4.3.0",
"gulp-concat": "^2.6.1",
"gulp-postcss": "^9.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^7.0.21",
"postcss-cli": "^6.1.3",
"purgecss": "^2.1.0",
"postcss": "8.1.10",
"postcss-cli": "8.3.0",
"postcss-nested": "^5.0.1",
"purgecss": "3.0.0",
"shadow-cljs": "2.8.81",
"tailwindcss": "^1.3.4"
"tailwindcss": "2.0.1"
},
"scripts": {
"watch": "run-p cljs:watch gulp:watch",
Expand Down
8 changes: 4 additions & 4 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = (ctx) => ({
plugins: [
require("autoprefixer"),
require("tailwindcss")("tailwind.config.js"),
ctx.env === "production" ? require("cssnano")({ preset: "default" }) : null,
require('postcss-nested'),
require('tailwindcss')('tailwind.config.js'),
ctx.env === 'production' ? require('cssnano')({ preset: 'default' }) : null,
],
});
})
Loading

0 comments on commit 9e0367e

Please sign in to comment.