Remove dynamic import
This commit is contained in:
parent
abcd9c582d
commit
a71be673f6
@ -13,6 +13,16 @@ const nextConfig = {
|
|||||||
NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT: process.env.NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT,
|
NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT: process.env.NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT,
|
||||||
NEXT_PUBLIC_IDNOT_CLIENT_ID: process.env.NEXT_PUBLIC_IDNOT_CLIENT_ID,
|
NEXT_PUBLIC_IDNOT_CLIENT_ID: process.env.NEXT_PUBLIC_IDNOT_CLIENT_ID,
|
||||||
},
|
},
|
||||||
|
webpack: config => {
|
||||||
|
config.node = {
|
||||||
|
fs: 'empty',
|
||||||
|
child_process: 'empty',
|
||||||
|
net: 'empty',
|
||||||
|
dns: 'empty',
|
||||||
|
tls: 'empty',
|
||||||
|
};
|
||||||
|
return config;
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = nextConfig;
|
module.exports = nextConfig;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user