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
This commit is contained in:
mindesbunister
2025-07-16 13:03:40 +02:00
parent 4fe9c1342c
commit 86d4f5289c
5 changed files with 390 additions and 1 deletions

View File

@@ -1,7 +1,14 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
transpilePackages: ['lightweight-charts'],
webpack: (config) => {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
};
return config;
},
};
export default nextConfig;