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 committed by GitHub
parent 786b12e379
commit 5cfc1fabcf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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