From bef90cfc3c261f7e5fe6940ff1a02c1a23eacf99 Mon Sep 17 00:00:00 2001 From: Christel Westerberg Date: Tue, 16 Jan 2024 14:22:54 +0100 Subject: [PATCH] fix: remove unnecessary config --- next.config.js | 11 +---------- tsconfig.json | 24 +++++------------------- 2 files changed, 6 insertions(+), 29 deletions(-) diff --git a/next.config.js b/next.config.js index 31cb88bc6..658404ac6 100644 --- a/next.config.js +++ b/next.config.js @@ -1,13 +1,4 @@ /** @type {import('next').NextConfig} */ -const nextConfig = { - webpack(config) { - config.module.rules.push({ - test: /\.svg$/, - use: ["@svgr/webpack"], - }); - - return config; - }, -}; +const nextConfig = {}; module.exports = nextConfig; diff --git a/tsconfig.json b/tsconfig.json index 04a01e9ea..c71469637 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,7 @@ { "compilerOptions": { "target": "es5", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -23,19 +19,9 @@ } ], "paths": { - "@/*": [ - "./*" - ] + "@/*": ["./*"] } }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - "components/Current/Header/LanguageSwitcher" - ], - "exclude": [ - "node_modules" - ] -} \ No newline at end of file + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] +}