Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and github-actions[bot] committed Apr 21, 2022
1 parent e85b16e commit 9fcac8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/integrations/lit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}
},
Expand Down

0 comments on commit 9fcac8e

Please sign in to comment.