forked from MarsX-dev/devhunt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
32 lines (32 loc) · 874 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
/** @type {import('next').NextConfig} */
const nextConfig = {
eslint: {
ignoreDuringBuilds: true
},
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
// !! WARN !!
ignoreBuildErrors: true
},
env: {
DISCOR_TOOL_WEBHOOK: process.env.DISCOR_TOOL_WEBHOOK,
DISCORD_USER_WEBHOOK: process.env.DISCORD_USER_WEBHOOK,
USER_MAVEN_KEY: process.env.USER_MAVEN_KEY,
WELCOME_EMAIL_API_KEY: process.env.WELCOME_EMAIL_API_KEY,
SIGNUP_FORM_ID: process.env.SIGNUP_FORM_ID,
NEWSLETTER_FORM_ID: process.env.NEWSLETTER_FORM_ID
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'mars-images.imgix.net',
port: '',
pathname: '/seobot/devhunt.org/**'
}
]
}
};
module.exports = nextConfig;