Skip to content

Commit

Permalink
fix(): Use import instead of require.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanCQ committed Dec 19, 2023
1 parent 8ce20a3 commit d702072
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import typography from "@tailwindcss/typography";
import { Config } from "tailwindcss";
import animate from "tailwindcss-animate";
export default {
darkMode: ["class", ".theme-mode-dark"],
content: ["./src/**/*.{ts,tsx}", "./stories/**/*.{ts,tsx}"],
Expand Down Expand Up @@ -75,5 +77,5 @@ export default {
},
},
},
plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],
plugins: [animate, typography],
} satisfies Config;

0 comments on commit d702072

Please sign in to comment.