tonfi-connect/front-end/next.config.ts
2024-11-22 00:43:54 +03:00

15 lines
302 B
TypeScript

// next.config.ts
const nextConfig = {
reactStrictMode: true,
webpack: (config: { resolve: { fallback: any; }; }) => {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
net: false,
tls: false,
};
return config;
},
}
export default nextConfig;