diff --git a/packages/studio/bin/studio.ts b/packages/studio/bin/studio.ts index e38730ee5..43de13867 100755 --- a/packages/studio/bin/studio.ts +++ b/packages/studio/bin/studio.ts @@ -18,7 +18,15 @@ cli .action((options: CliArgs) => { spawnSync( "npx", - ["cross-env", NODE_OPTIONS, "npx", "vite", "--config", pathToViteConfig], + [ + "cross-env", + NODE_OPTIONS, + "npx", + "vite", + "--force", + "--config", + pathToViteConfig, + ], { stdio: ["ignore", "inherit", "inherit"], env: { diff --git a/packages/studio/vite.config.ts b/packages/studio/vite.config.ts index 95a3ab95f..6d5fe3fa7 100644 --- a/packages/studio/vite.config.ts +++ b/packages/studio/vite.config.ts @@ -31,8 +31,5 @@ export default defineConfig((args: ConfigEnv): UserConfig => { css: { postcss: __dirname, }, - optimizeDeps: { - exclude: ["virtual_yext-studio", "virtual_yext-studio-git-data"], - }, }; });