Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

build(y-indexeddb): fix vite config

himself65985bb55d821d
diff --git a/packages/y-indexeddb/vite.config.ts b/packages/y-indexeddb/vite.config.ts
index 4e7a869636..64f40beb49 100644
--- a/packages/y-indexeddb/vite.config.ts
+++ b/packages/y-indexeddb/vite.config.ts
@@ -15,10 +15,10 @@ export default defineConfig({
lib: {
entry: resolve(__dirname, 'src/index.ts'),
fileName: 'index',
- name: 'BlockSuiteIndexedDBProvider',
+ name: 'ToEverythingIndexedDBProvider',
},
rollupOptions: {
- external: ['idb', '@blocksuite/store'],
+ external: ['idb', 'yjs'],
},
},
plugins: [dts()],