Skip to content

Commit

Permalink
TypeScript config files for next and tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
mellevanderlinde committed Dec 17, 2024
1 parent 4d943ae commit 262b0f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion apps/website/next.config.mjs → apps/website/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const nextConfig = {
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
output: "export",
trailingSlash: true,
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// eslint-disable-next-line no-undef
module.exports = {
import type { Config } from "tailwindcss";

const config: Config = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./public/**/*.ico",
Expand All @@ -21,6 +22,8 @@ module.exports = {
},
},
},
// eslint-disable-next-line no-undef, @typescript-eslint/no-require-imports
// eslint-disable-next-line @typescript-eslint/no-require-imports
plugins: [require("@tailwindcss/typography")],
};

export default config;

0 comments on commit 262b0f6

Please sign in to comment.