From 93ce44d21d15fa6631b55a53e0919c0b98c07fee Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 9 Jul 2025 16:34:16 +0200 Subject: [PATCH] Fix nearly every sub-directory being crawled as part of Vite build (#35323) --- vite.config.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.mts b/vite.config.mts index 484211eaa..1a51824fa 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -79,7 +79,7 @@ export const config: UserConfigFnPromise = async ({ mode, command }) => { }, }, plugins: [ - tsconfigPaths(), + tsconfigPaths({ projects: [path.resolve(__dirname, 'tsconfig.json')] }), RailsPlugin({ compress: mode === 'production' && command === 'build', sri: {