xchange-create
Version:
Create Xchange Project
20 lines (17 loc) • 504 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