mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
19 lines
384 B
JavaScript
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'],
|
|
},
|
|
};
|
|
},
|
|
};
|