Skip to content

Commit 41a4fda

Browse files
authored
chore: Fix node v22 compatibility by converting Tailwind config to ESM (#133)
1 parent d8e019f commit 41a4fda

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tailwind.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
import tailwindcssAnimate from "tailwindcss-animate";
2+
13
/** @type {import('tailwindcss').Config} */
2-
module.exports = {
4+
export default {
35
darkMode: ["class"],
46
content: ["./{pages,components,app,src}/**/*.{ts,tsx}"],
57
theme: {
@@ -84,7 +86,7 @@ module.exports = {
8486
},
8587
},
8688
plugins: [
87-
require("tailwindcss-animate"),
89+
tailwindcssAnimate,
8890
function ({ addUtilities, theme }) {
8991
addUtilities(
9092
{

0 commit comments

Comments
 (0)