Skip to content

Commit

Permalink
chore: remove unused stuff with next.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed Jun 7, 2024
1 parent bcc452f commit e3c0bc6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
Binary file modified bun.lockb
Binary file not shown.
9 changes: 0 additions & 9 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ const jiti = createJiti(fileURLToPath(import.meta.url));

jiti('./src/env');

const extensions = ['js', 'jsx', 'ts', 'tsx', 'mdx', 'md'];

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
pageExtensions: extensions,
transpilePackages: ['next-mdx-remote'],

// We run ESLint and TypeScript separately in the CI pipeline
Expand All @@ -26,12 +23,6 @@ const nextConfig = {
fullUrl: true,
},
},
experimental: {
mdxRs: true,
turbo: {
resolveExtensions: extensions.map((ext) => `.${ext}`),
},
},
};

export default nextConfig;
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@
"@upstash/redis": "^1.31.3",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"drizzle-orm": "^0.31.1",
"drizzle-orm": "^0.31.2",
"drizzle-zod": "^0.5.1",
"geist": "^1.3.0",
"jiti": "^1.21.3",
"lucide-react": "^0.383.0",
"lucide-react": "^0.390.0",
"next": "14.2.3",
"next-mdx-remote": "^5.0.0",
"next-themes": "^0.3.0",
Expand Down Expand Up @@ -119,17 +119,17 @@
"@types/react-dom": "^18.3.0",
"commitizen": "^4.3.0",
"cspell": "^8.8.4",
"drizzle-kit": "^0.22.2",
"drizzle-kit": "^0.22.5",
"eslint": "^9.4.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^48.2.8",
"eslint-plugin-jsdoc": "^48.2.9",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-playwright": "^1.6.2",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-security": "^3.0.0",
"eslint-plugin-tailwindcss": "^3.17.1",
"eslint-plugin-tailwindcss": "^3.17.3",
"eslint-plugin-testing-library": "^6.2.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
Expand Down

0 comments on commit e3c0bc6

Please sign in to comment.