diff --git a/packages/y-indexeddb/vite.config.ts b/packages/y-indexeddb/vite.config.ts index 64f40beb4..e38ab9b59 100644 --- a/packages/y-indexeddb/vite.config.ts +++ b/packages/y-indexeddb/vite.config.ts @@ -21,5 +21,9 @@ export default defineConfig({ external: ['idb', 'yjs'], }, }, - plugins: [dts()], + plugins: [ + dts({ + entryRoot: resolve(__dirname, 'src'), + }), + ], });