Ink statically imports react-devtools-core (only used when DEV=true). With --external, bun compile leaves a runtime require that fails in the standalone binary. Instead, provide a no-op stub that bun bundles inline. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3 lines
128 B
JavaScript
3 lines
128 B
JavaScript
// Stub for react-devtools-core — not needed in production builds
|
|
export default { initialize() {}, connectToDevTools() {} };
|