import { buildRuntime, watchRequested } from '../../../waybetter/packages/waybetter/build/runtime.mjs'; // The observer ships English only for its own status words (`x.capture.*`); the X runtime supplies // the owner's language once it is installed. Bundled by the framework (`waybetter/build`), unminified. const watch = watchRequested(); await buildRuntime({ watch, entry: 'src/observer/entry.ts', outfile: 'src-tauri/observer.js', catalog: 'locales/en.json', prefixes: ['x.capture.'], minify: false, inlineCss: false, }); console.log(watch ? 'Watching page observer.' : 'Built page observer (no external runtime dependencies).');