mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-17 00:26:41 +03:00
Carry native comp capture and completion integrity fixes into the reviewed component workflow. Bump the skill to 4.4.0 and engine/platform pins to 0.1.6; keep publication separate from this release candidate. AI assistance: implemented and validated with OpenAI Codex.
8 lines
572 B
JavaScript
8 lines
572 B
JavaScript
// Source bundle embedded in the native engine; no Node/Bun is needed at runtime.
|
|
import { fileURLToPath } from 'node:url';
|
|
import { resolve } from 'node:path';
|
|
const root = fileURLToPath(new URL('../', import.meta.url));
|
|
const result = await Bun.build({ entrypoints: [resolve(root, 'ui/component-review/entry.ts')], target: 'browser', format: 'iife', minify: true });
|
|
if (!result.success) throw new AggregateError(result.logs, 'Component review bundle failed');
|
|
await Bun.write(resolve(root, 'crates/context/assets/component-review.js'), await result.outputs[0].text());
|