Exclude PDF assets from prerendering (#476)
This commit is contained in:
parent
edc2c07af2
commit
7a1748af4e
Binary file not shown.
@ -27,6 +27,7 @@ export default defineConfig({
|
||||
tanstackStart({
|
||||
prerender: {
|
||||
enabled: true,
|
||||
filter: ({ path }) => !/\.pdf(?:[?#]|$)/i.test(path),
|
||||
},
|
||||
}),
|
||||
react(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user