Skip to content

Commit 6c4bb34

Browse files
committed
tailwind config esm
1 parent 6f04131 commit 6c4bb34

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tailwind.config.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/** @type {import('tailwindcss').Config} */
2-
module.exports = {
2+
import tailwindcssAnimate from 'tailwindcss-animate';
3+
4+
export default {
35
darkMode: ['class'],
46
content: [
57
'./pages/**/*.{ts,tsx}',
@@ -73,5 +75,5 @@ module.exports = {
7375
},
7476
},
7577
},
76-
plugins: [require('tailwindcss-animate')],
78+
plugins: [tailwindcssAnimate],
7779
}

0 commit comments

Comments
 (0)