mocksaml/next.config.js
2023-10-29 00:21:15 +01:00

17 lines
353 B
JavaScript

/** @type {import('next').NextConfig} */
module.exports = {
experimental: { esmExternals: false, webpackBuildWorker: true },
reactStrictMode: true,
output: 'standalone',
webpack: (config, { isServer }) => {
if (!isServer) {
config.resolve.fallback = {
fs: false,
zlib: false,
};
}
return config;
},
};