OpenPanel/packages/live-previews/next.config.js
Stefan Pejcic 8595a9f4e5 back
2024-05-08 19:58:53 +02:00

19 lines
532 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// productionBrowserSourceMaps: true, // Disabled for now, as it causes build to hang on deploy
swcMinify: false,
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true,
},
webpack: (config) => {
config.resolve.fallback = { fs: false };
return config;
},
};
module.exports = nextConfig;