Files
trading_bot_v3/next.config.ts
mindesbunister 86d4f5289c Add debug pages and Next.js config for lightweight-charts
- Added multiple test pages to debug chart rendering issues
- Updated Next.js config to handle ES modules and transpile lightweight-charts
- Attempting to resolve chart initialization problems
2025-07-16 13:03:40 +02:00

15 lines
289 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
transpilePackages: ['lightweight-charts'],
webpack: (config) => {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
};
return config;
},
};
export default nextConfig;