Fix nearly every sub-directory being crawled as part of Vite build (#35323)

This commit is contained in:
Claire 2025-07-09 16:34:16 +02:00
commit 93ce44d21d

View file

@ -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: {