-
Notifications
You must be signed in to change notification settings - Fork 3
/
next.config.js
25 lines (24 loc) · 995 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
/* eslint-disable import/no-extraneous-dependencies */
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
});
module.exports = withBundleAnalyzer({
poweredByHeader: false,
trailingSlash: true,
basePath: '',
// The starter code load resources from `public` folder with `router.basePath` in React components.
// So, the source code is "basePath-ready".
// You can remove `basePath` if you don't need it.
reactStrictMode: true,
env: {
NEXT_PUBLIC_DEFIOS_CONTRACT_ADDRESS: process.env.NEXT_PUBLIC_DEFIOS_CONTRACT_ADDRESS,
NEXT_PUBLIC_PINATA_JWT: process.env.NEXT_PUBLIC_PINATA_JWT,
NEXT_PUBLIC_MULTI_CALL_ADDRESS: process.env.NEXT_PUBLIC_MULTI_CALL_ADDRESS,
NEXT_PUBLIC_NAMES_DEFIOS_ADDRESS: process.env.NEXT_PUBLIC_NAMES_DEFIOS_ADDRESS,
},
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true,
},
});