Skip to content

Commit f13ec79

Browse files
committed
upgrade to tailwindcss v3
1 parent 8ea1c3c commit f13ec79

File tree

3 files changed

+581
-928
lines changed

3 files changed

+581
-928
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@
1111
"build": "NODE_ENV=production gulp postcss"
1212
},
1313
"dependencies": {
14-
"autoprefixer": "^10.2.6",
14+
"autoprefixer": "^10.4.2",
1515
"browser-sync": "^2.27.4",
1616
"cross-env": "^7.0.3",
1717
"cssnano": "^5.0.6",
1818
"gulp": "^4.0.2",
1919
"gulp-connect-php": "^1.0.3",
2020
"gulp-postcss": "^9.0.0",
21+
"postcss": "^8.4.6",
2122
"postcss-cli": "^8.3.1",
2223
"postcss-nesting": "^8.0.1",
23-
"tailwindcss": "^2.2.4"
24+
"tailwindcss": "^3.0.23"
2425
}
2526
}

tailwind.config.js

+4-7
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ module.exports = {
55
extend: { },
66
},
77
plugins: [ ],
8-
purge: {
9-
enabled: process.env.NODE_ENV === 'production',
10-
content: [
11-
'./site/**/*.php',
12-
'./site/tailwind/*.css',
13-
],
14-
},
8+
content: [
9+
'./site/**/*.php',
10+
'./site/tailwind/*.css',
11+
],
1512
}

0 commit comments

Comments
 (0)