diff --git a/packages/astro/src/core/create-vite.ts b/packages/astro/src/core/create-vite.ts index aef640cab..a76f7078b 100644 --- a/packages/astro/src/core/create-vite.ts +++ b/packages/astro/src/core/create-vite.ts @@ -42,7 +42,6 @@ export async function createVite( clearScreen: false, // we want to control the output, not Vite logLevel: 'warn', // log warnings and errors only optimizeDeps: { - force: true, entries: ['src/**/*'], // Try and scan a user’s project (won’t catch everything), exclude: ['node-fetch'], },