Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix: loro null pointer local dev (#4287)
Wolf Mermelsteincd590d593078
diff --git a/js/app/packages/app/vite.base.ts b/js/app/packages/app/vite.base.tsindex 51ddd080e5..6fc88e899a 100644--- a/js/app/packages/app/vite.base.ts+++ b/js/app/packages/app/vite.base.ts@@ -166,6 +166,14 @@ export const createAppViteConfig = (): UserConfigFn => {// 'solid-devtools/setup','libheif-js/wasm-bundle',],+ // loro-crdt is a wasm singleton. The app imports it directly (esbuild+ // pre-bundles a copy) while the linked `@loro-mirror/.../src` workspace+ // source imports it through vite-plugin-wasm — two module evaluations,+ // two wasm memories. A LoroDoc from one instance handed to a Mirror on+ // the other yields cross-instance container handles → `index out of+ // bounds` panics in dev only. Excluding it from pre-bundling collapses+ // everyone onto the single plugin-handled instance.+ exclude: ['loro-crdt'],esbuildOptions: {target: 'esnext',},