mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 06:35:02 +00:00
chore: update PostCSS & Tailwind major version .
This commit is contained in:
11
package.json
11
package.json
@@ -3,7 +3,7 @@
|
||||
"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",
|
||||
@@ -11,11 +11,12 @@
|
||||
"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",
|
||||
|
||||
@@ -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,
|
||||
],
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user