mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
Split embedded assets loading into runtime-specific variants using package.json imports field. Bun-compiled binaries use the full implementation with file assets, while stub fallback provides clear error for non-Bun runtimes.
7 lines
142 B
TypeScript
7 lines
142 B
TypeScript
// Disable Ink devtools in compiled binaries to avoid optional dependencies.
|
|
process.env.DEV = 'false';
|
|
|
|
await import('./index');
|
|
|
|
export {};
|