-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.mjs
29 lines (28 loc) · 929 Bytes
/
next.config.mjs
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
/** @type {import('next').NextConfig} */
const nextConfig = {
env: {
SERVER_API_ADDRESS: process.env.SERVER_API_ADDRESS,
CHAIN_ID: process.env.CHAIN_ID,
TOKEN_CONTRACT_ADDRESS: process.env.TOKEN_CONTRACT_ADDRESS,
MARKETPLACE_CONTRACT_ADDRES: process.env.MARKETPLACE_CONTRACT_ADDRES,
OWNER_ADDRESS: process.env.OWNER_ADDRESS
},
reactStrictMode: false,
webpack(config, { isServer }) {
// shader support
config.module.rules.push({
test: /\.(glsl|vs|fs|vert|frag)$/,
exclude: /node_modules/,
use: ['raw-loader', 'glslify-loader'],
})
return config
},
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
// !! WARN !!
ignoreBuildErrors: true,
},
};
export default nextConfig;