Skip to content

Commit 3e57d1b

Browse files
committed
chore: update postcss config to be compatible with tailwindcss v3
1 parent 12dbe19 commit 3e57d1b

File tree

3 files changed

+159
-6
lines changed

3 files changed

+159
-6
lines changed

package-lock.json

Lines changed: 154 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"@netlify/functions": "^3.0.0",
1818
"@octokit/webhooks-types": "^7.6.1",
1919
"next": "14.2.28",
20-
"react": "^18.3.20",
21-
"react-dom": "^18.3.20",
20+
"react": "^18.2.0",
21+
"react-dom": "^18.2.0",
2222
"react-icons": "^5.4.0",
2323
"react-markdown": "^9.0.3",
2424
"remark-gfm": "^4.0.0"
@@ -29,6 +29,7 @@
2929
"@types/node": "^20",
3030
"@types/react": "^18",
3131
"@types/react-dom": "^18",
32+
"autoprefixer": "^10.4.21",
3233
"eslint": "^8",
3334
"eslint-config-next": "14.2.28",
3435
"eslint-plugin-header": "^3.1.1",

postcss.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
/** @type {import('postcss-load-config').Config} */
77
const config = {
88
plugins: {
9-
'@tailwindcss/postcss': {},
9+
tailwindcss: {},
10+
autoprefixer: {},
1011
},
1112
};
1213

0 commit comments

Comments
 (0)