// bundles.mjs — the bundles the app ships, in one list, with the options // they are built with. build-bundles.mjs builds them into // internal/mapa/static/..js, which is committed and embedded; // the app runs no build step (spec §6.2). Docs' fixtures/bundles.mjs is // the model. // // One bundle for now. Phase 1 builds it and loads it nowhere; Phase 2 // mounts the editor from it, deferred, on pages the viewer may edit. export const bundles = [ { name: 'editor', entry: 'editor-entry.js' } ] export const options = { bundle: true, minify: true, target: 'es2020' } // budget is gate L12: the editor bundle's ceiling, gzipped. export const budget = 120 * 1024