build(y-indexeddb): fix vite config

This commit is contained in:
himself65 2023-04-20 18:08:33 -05:00
parent 66d0640042
commit 985bb55d82

View File

@ -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()],