From be1ccf4a250201b7c8a56da37251848de14f54f3 Mon Sep 17 00:00:00 2001 From: Hendrik Schmitz <36853386+drik98@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:05:51 +0100 Subject: [PATCH] Fix missing support for mts vite config --- code/lib/cli/src/automigrate/fixes/vite-config-file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/cli/src/automigrate/fixes/vite-config-file.ts b/code/lib/cli/src/automigrate/fixes/vite-config-file.ts index 9203b45f225f..aee8a1ed985e 100644 --- a/code/lib/cli/src/automigrate/fixes/vite-config-file.ts +++ b/code/lib/cli/src/automigrate/fixes/vite-config-file.ts @@ -20,7 +20,7 @@ export const viteConfigFile = { async check({ mainConfig, packageManager, mainConfigPath }) { let isViteConfigFileFound = !!(await findUp( - ['vite.config.js', 'vite.config.mjs', 'vite.config.cjs', 'vite.config.ts'], + ['vite.config.js', 'vite.config.mjs', 'vite.config.cjs', 'vite.config.ts', 'vite.config.mts'], { cwd: mainConfigPath ? path.join(mainConfigPath, '..') : process.cwd() } ));