Skip to content

Commit

Permalink
fix(drizzle-duckdb-wasm): build
Browse files Browse the repository at this point in the history
Signed-off-by: Neko Ayaka <neko@ayaka.moe>
  • Loading branch information
nekomeowww committed Mar 1, 2025
1 parent fba1029 commit b9f59cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/drizzle-duckdb-wasm/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ import VueRouter from 'unplugin-vue-router/vite'
import { defineConfig } from 'vite'

export default defineConfig({
build: {
outDir: resolve(import.meta.dirname, 'playground', 'dist'),
},
plugins: [
// https://github.com/posva/unplugin-vue-router
VueRouter({
root: 'playground',
extensions: ['.vue', '.md'],
dts: resolve(import.meta.dirname, 'playground/src/typed-router.d.ts'),
dts: resolve(import.meta.dirname, 'playground', 'src', 'typed-router.d.ts'),
}),
Vue(),
// https://github.com/antfu/unocss
Expand Down

0 comments on commit b9f59cc

Please sign in to comment.