Files
bun.sh/cmake
Claude bc32ddfbd3 Add comprehensive bundler graph visualizer for debugging
- Implements GraphVisualizer that dumps complete LinkerContext state to JSON
- Captures files, symbols, imports/exports, chunks, parts, and dependency graph
- Controlled via BUN_BUNDLER_GRAPH_DUMP environment variable (all/scan/chunks/compute/link)
- Uses proper bun.json.toAST and js_printer.printJSON for correct JSON serialization
- Enhanced json.toAST to support custom toExprForJSON methods and BabyList-like types
- Includes interactive D3.js HTML visualizer with multiple views
- Helps debug duplicate exports, circular dependencies, and bundling issues
- Outputs to /tmp/bun-bundler-debug/ with timestamped files

Usage: BUN_BUNDLER_GRAPH_DUMP=all bun build file.js

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-28 03:39:16 +02:00
..
2024-11-15 21:01:55 -08:00
2025-08-23 00:31:53 -07:00
2025-05-31 16:21:08 -07:00