/** @type {import('next').NextConfig} */ const nextConfig = { experimental: { turbo: { rules: { '*.svg': { loaders: ['@svgr/webpack'], as: '*.js', }, }, }, }, webpack: (config, { isServer }) => { // Add Monaco Editor webpack configuration if (!isServer) { config.resolve.fallback = { ...config.resolve.fallback, fs: false, module: false, path: false, }; } return config; }, } export default nextConfig