diff --git a/next.config.ts b/next.config.mjs similarity index 91% rename from next.config.ts rename to next.config.mjs index e70ea5f..6078b15 100644 --- a/next.config.ts +++ b/next.config.mjs @@ -1,6 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - webpack: (config : any) => { + webpack: (config) => { config.resolve.alias.canvas = false; return config; diff --git a/tsconfig.json b/tsconfig.json index f48e7ee..dde88af 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,6 @@ { "compilerOptions": { - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -22,9 +18,7 @@ } ], "paths": { - "@/*": [ - "./src/*" - ] + "@/*": ["./src/*"] }, "target": "ES2017" }, @@ -32,9 +26,8 @@ "next-env.d.ts", "**/*.ts", "**/*.tsx", - ".next/types/**/*.ts" + ".next/types/**/*.ts", + "next.config.mjs", ], - "exclude": [ - "node_modules" - ] + "exclude": ["node_modules"] }