diff --git a/npm/vite-dev-server/src/constants.ts b/npm/vite-dev-server/src/constants.ts index 48b5e73a764c..bed23030e9ce 100644 --- a/npm/vite-dev-server/src/constants.ts +++ b/npm/vite-dev-server/src/constants.ts @@ -3,4 +3,6 @@ export const configFiles = [ 'vite.config.js', 'vite.config.mjs', 'vite.config.cjs', + 'vite.config.mts', + 'vite.config.cts', ] diff --git a/packages/launchpad/cypress/e2e/error-handling.cy.ts b/packages/launchpad/cypress/e2e/error-handling.cy.ts index c9ff3c2b9525..cef2949088a1 100644 --- a/packages/launchpad/cypress/e2e/error-handling.cy.ts +++ b/packages/launchpad/cypress/e2e/error-handling.cy.ts @@ -68,7 +68,7 @@ describe('Error handling', () => { cy.openProject('missing-vite-config', ['--component']) cy.visitLaunchpad() - ;['vite.config.js', 'vite.config.ts', 'vite.config.mjs', 'vite.config.cjs'].forEach((idiomaticConfigFile) => { + ;['vite.config.js', 'vite.config.ts', 'vite.config.mjs', 'vite.config.cjs', 'vite.config.mts', 'vite.config.cts'].forEach((idiomaticConfigFile) => { cy.contains(idiomaticConfigFile) })