[ci] format
This commit is contained in:
parent
f08ca005e2
commit
91a9cb0764
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
import type { Options } from '@vitejs/plugin-vue';
|
import type { Options } from '@vitejs/plugin-vue';
|
||||||
|
import vue from '@vitejs/plugin-vue';
|
||||||
import type { AstroIntegration, AstroRenderer } from 'astro';
|
import type { AstroIntegration, AstroRenderer } from 'astro';
|
||||||
import type { UserConfig } from 'vite';
|
import type { UserConfig } from 'vite';
|
||||||
import vue from '@vitejs/plugin-vue';
|
|
||||||
|
|
||||||
function getRenderer(): AstroRenderer {
|
function getRenderer(): AstroRenderer {
|
||||||
return {
|
return {
|
||||||
|
@ -20,7 +20,7 @@ function getViteConfiguration(options?: Options): UserConfig {
|
||||||
plugins: [vue(options)],
|
plugins: [vue(options)],
|
||||||
ssr: {
|
ssr: {
|
||||||
external: ['@vue/server-renderer'],
|
external: ['@vue/server-renderer'],
|
||||||
noExternal: ['vueperslides']
|
noExternal: ['vueperslides'],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue