diff --git a/vite.config.mts b/vite.config.mts index 484211eaa0c..1a51824faad 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: {