Skip to content

Commit

Permalink
Convert tailwind config to TS (fixes build issues in newer versions o…
Browse files Browse the repository at this point in the history
…f Node)
  • Loading branch information
benvinegar committed Dec 13, 2024
1 parent 964a91c commit 53d5835
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tailwind.config.js → tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
import type { Config } from "tailwindcss";

export default {
darkMode: ["class"],
content: [
"./pages/**/*.{ts,tsx}",
Expand Down Expand Up @@ -82,4 +83,4 @@ module.exports = {
},
},
plugins: [require("tailwindcss-animate")],
};
} satisfies Config;

0 comments on commit 53d5835

Please sign in to comment.