[ci] format

This commit is contained in:
matthewp 2022-04-21 15:13:24 +00:00 committed by github-actions[bot]
parent e85b16e2b3
commit 9fcac8e551

View file

@ -47,14 +47,14 @@ export default function (): AstroIntegration {
},
'astro:build:setup': ({ vite, target }) => {
if (target === 'server') {
if(!vite.ssr) {
if (!vite.ssr) {
vite.ssr = {};
}
if(!vite.ssr.noExternal) {
if (!vite.ssr.noExternal) {
vite.ssr.noExternal = [];
}
if(Array.isArray(vite.ssr.noExternal)) {
vite.ssr.noExternal.push('lit')
if (Array.isArray(vite.ssr.noExternal)) {
vite.ssr.noExternal.push('lit');
}
}
},