Exclude astro from Vite optimization (#5545)
This commit is contained in:
parent
3e16022499
commit
9082a850ee
2 changed files with 6 additions and 1 deletions
5
.changeset/chilled-papayas-build.md
Normal file
5
.changeset/chilled-papayas-build.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Exclude astro from Vite optimization
|
|
@ -93,7 +93,7 @@ export async function createVite(
|
|||
appType: 'custom',
|
||||
optimizeDeps: {
|
||||
entries: ['src/**/*'],
|
||||
exclude: ['node-fetch'],
|
||||
exclude: ['astro', 'node-fetch'],
|
||||
},
|
||||
plugins: [
|
||||
configAliasVitePlugin({ settings }),
|
||||
|
|
Loading…
Reference in a new issue