refactor: remove y-indexeddb (#1771)
This commit is contained in:
1 parent
f5574c68fe
commit
ed8f07f102
12 files changed
+918
-35
No files matched your search
@@ -0,0 +1,25 @@
|
||||
import { resolve } from 'node:path';
|
||||
|
||||
import { fileURLToPath } from 'url';
|
||||
import { defineConfig } from 'vite';
|
||||
import dts from 'vite-plugin-dts';
|
||||
|
||||
const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
terserOptions: {
|
||||
ecma: 2020,
|
||||
},
|
||||
sourcemap: true,
|
||||
lib: {
|
||||
entry: resolve(__dirname, 'src/index.ts'),
|
||||
fileName: 'index',
|
||||
name: 'BlockSuiteIndexedDBProvider',
|
||||
},
|
||||
rollupOptions: {
|
||||
external: ['idb', '@blocksuite/store'],
|
||||
},
|
||||
},
|
||||
plugins: [dts()],
|
||||
});
|
||||
Reference in new issue
Block a user