0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/renderers/renderer-vue/index.js
2021-12-22 16:11:05 -05:00

19 lines
384 B
JavaScript

import vue from '@vitejs/plugin-vue';
export default {
name: '@astrojs/renderer-vue',
client: './client.js',
server: './server.js',
viteConfig() {
return {
optimizeDeps: {
include: ['@astrojs/renderer-vue/client.js', 'vue'],
exclude: ['@astrojs/renderer-vue/server.js'],
},
plugins: [vue()],
ssr: {
external: ['@vue/server-renderer'],
},
};
},
};