I tried to use rolldown's composable filter API, but it's not in the types yet. I had to cast to any as a result:
// Vite's resolveId filter types don't yet expose the composable filter API,
// but rolldown (the underlying bundler) supports it at runtime
filter: /** @type {any} */ ([exclude(importerId(/index\.html$/)), include(importerId(/.+/))]),
Describe the bug
I tried to use rolldown's composable filter API, but it's not in the types yet. I had to cast to
anyas a result:Reproduction
sveltejs/kit@70626f9
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Logs
No response
Validations