-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathnext.config.js
41 lines (41 loc) · 1.16 KB
/
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
/** @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,
AUTH_TOKEN_PASSWORD: process.env.AUTH_TOKEN_PASSWORD,
AUTH_TOKEN_API_KEY: process.env.AUTH_TOKEN_API_KEY,
CRON_SECRET: process.env.CRON_SECRET,
PH_ACCESS_TOKEN: process.env.PH_ACCESS_TOKEN,
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'mars-images.imgix.net',
port: '',
pathname: '/seobot/devhunt.org/**',
},
{
protocol: 'https',
hostname: 'ph-files.imgix.net',
port: '',
},
],
},
};
module.exports = nextConfig;