diff --git a/vite.config.mts b/vite.config.mts index 6429f97c5..8d0fdfde5 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -83,7 +83,7 @@ export const config: UserConfigFnPromise = async ({ mode, command }) => { format: 'es', }, plugins: [ - tsconfigPaths(), + tsconfigPaths({ projects: [path.resolve(__dirname, 'tsconfig.json')] }), RailsPlugin({ compress: mode === 'production' && command === 'build', sri: {