@dusky kraken so I have this in config
vite: {
build: {
rollupOptions: {
external: ['/pagefind/pagefind.js']
}
},
server: {
fs: {
strict: false,
allow: ['.'] // Allow serving files from root
}
},
optimizeDeps: {
exclude: ['pagefind']
}
}
and I'm getting error
0:43:31 [WARN] [router] A `getStaticPaths()` route pattern was matched, but no matching static path was found for requested path `/pagefind/pagefind.js`.
Possible dynamic routes being matched: src/pages/[...slug].astro.
20:43:31 [404] /pagefind/pagefind.js 252ms