Files
zeekay 7da62dfb4f feat(sdk): publish @hanzo/base v0.2.0, swap UI dependency
- Add /compat export path re-exporting PocketBase client as drop-in
- Add pocketbase as dependency (compat layer)
- Add RealtimeService.unsubscribe() method
- Build: core, compat, react, crdt entry points
- UI: swap pocketbase → @hanzo/base/compat, builds clean
- Published to npm as @hanzo/[email protected]
2026-03-02 10:49:54 -07:00

20 lines
413 B
TypeScript

import { defineConfig } from 'tsup'
export default defineConfig({
entry: {
'core/index': 'src/core/index.ts',
'compat/index': 'src/compat/index.ts',
'react/index': 'src/react/index.ts',
'crdt/index': 'src/crdt/index.ts',
},
format: ['esm'],
dts: true,
sourcemap: true,
clean: true,
splitting: true,
treeshake: true,
target: 'es2020',
outDir: 'dist',
external: ['react'],
})