diff --git a/packages/vike-vue/src/+config.ts b/packages/vike-vue/src/+config.ts index a933d4e6..7bd4c2ea 100644 --- a/packages/vike-vue/src/+config.ts +++ b/packages/vike-vue/src/+config.ts @@ -1,8 +1,10 @@ +export { config as default } + import type { Config } from 'vike/types' import './utils/tsx-workaround.js' import { ssrEffect } from './integration/ssrEffect.js' -export default { +const config = { name: 'vike-vue', require: { vike: '>=0.4.191', diff --git a/packages/vike-vue/vite.config.js b/packages/vike-vue/vite.config.js index 0853321d..08200438 100644 --- a/packages/vike-vue/vite.config.js +++ b/packages/vike-vue/vite.config.js @@ -1,9 +1,11 @@ +export { config as default } + import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import { resolve } from 'node:path' import dts from 'vite-plugin-dts' -export default defineConfig({ +const config = defineConfig({ plugins: [vue(), dts(), assertExternal()], build: { emptyOutDir: true,