fix: add astro/components to noExternal for Code component

This commit is contained in:
bholmesdev 2022-06-24 14:04:27 -04:00
parent 694b3f024b
commit 89fa0a5618

View file

@ -96,6 +96,9 @@ export async function createVite(
],
conditions: ['astro'],
},
ssr: {
noExternal: ['astro', 'astro/components'],
}
};
// Merge configs: we merge vite configuration objects together in the following order,