mirror of
https://github.com/yashgo0018/maci-wrapper.git
synced 2026-01-14 21:57:58 -05:00
20 lines
509 B
JavaScript
20 lines
509 B
JavaScript
// @ts-check
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
typescript: {
|
|
ignoreBuildErrors: process.env.NEXT_PUBLIC_IGNORE_BUILD_ERROR === "true",
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: process.env.NEXT_PUBLIC_IGNORE_BUILD_ERROR === "true",
|
|
},
|
|
webpack: config => {
|
|
config.resolve.fallback = { fs: false, net: false, tls: false };
|
|
config.externals.push("pino-pretty", "lokijs", "encoding");
|
|
return config;
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|