forked from code100x/job-board
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
42 lines (39 loc) · 846 Bytes
/
next.config.js
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
31
32
33
34
35
36
37
38
39
40
41
42
// next.config.js
import { fileURLToPath } from 'node:url';
import createJiti from 'jiti';
if (process.env.SKIP_ENV_CHECK !== 'true') {
const jiti = createJiti(fileURLToPath(import.meta.url));
jiti('./src/env/client');
jiti('./src/env/server');
}
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
reactStrictMode: true,
logging: {
fetches: {
fullUrl: true,
},
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'job-board.b-cdn.net',
},
{
protocol: 'https',
hostname: 'lh3.googleusercontent.com',
},
{
protocol: 'https',
hostname: 'aakash2330.b-cdn.net',
},
{
protocol: 'https',
hostname: 'www.example.com',
}
],
},
};
export default nextConfig;