// ── @zerotal/flow plain-form enhancement bundle ───────────────────────────────── // // The entry point for the second Bun.build() in FlowProvider.onBooting(). It // produces /__flow/enhance.js. // // **Deliberately separate from the runtime bundle, and deliberately tiny.** The // whole point of this feature is a page with *no Flow component on it* — an // ordinary server-rendered form, on a route that is not `Router.flow`. Such a page // is never served `/__flow/runtime.js`, so there is no script to hook into; and // pulling Alpine and the WebSocket bridge onto a page with no component to drive // would be paying the entire framework's client cost for a submit handler. // // **This file exports nothing, and must not.** It is loaded as a classic script, // where a trailing `export` statement is a SyntaxError that discards the whole // bundle — silently, because the forms then post natively and the page still // works. The decisions worth testing live in `enhanceSupport.ts`, which Bun inlines // back in at build time. // // ## The contract // //