fix: add astro/components to noExternal for Code component
This commit is contained in:
parent
694b3f024b
commit
89fa0a5618
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue