-
Notifications
You must be signed in to change notification settings - Fork 3
/
next.config.ts
30 lines (28 loc) · 915 Bytes
/
next.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
images: {
// We set image as `unoptimized` to not exceed the
// fair usage policy of vercel about image optimization.
// https://vercel.com/docs/platform/fair-use-policy
// https://nextjs.org/docs/app/api-reference/components/image#unoptimized
unoptimized: true,
},
eslint: {
// To make `next lint` check files and folders besides the default folders (`src`, `app` etc.):
// https://nextjs.org/docs/app/building-your-application/configuring/eslint#linting-custom-directories-and-files
dirs: [
'config',
'src',
'codegen.ts',
'eslint.config.mjs',
'graphql.config.ts',
'knip.config.ts',
'lint-staged.config.mjs',
'next.config.ts',
'postcss.config.js',
'prettier.config.mjs',
'tailwind.config.ts',
],
},
};
export default nextConfig;