Dashboard › cli › Ink import behavior
01a02958-1037-7620-aafe-b488c584ff56The main CLI bundle must never call import("ink") at runtime. Chose a pre-bundled self-contained Ink sidecar, with Ink and React inlined by text-import-plugin, over dynamic importing because runtime imports complicate SEA execution and CJS/React interop. Keep Ink-related dependencies external from the main esbuild bundle only because the sidecar supplies them.