My main issue with Vite is that there's poor support for monorepos / workspaces.
For a few reasons, I want @villagekit modules to be re-compiled and re-bundled:
- Better dev experience to re-load directly in app
- Handle worker imports correctly
I had to make a hack to trick Vite into thinking workspace packages were internal files.
In Next.js, this is as easy as transpilePackages.
I wonder if Rspack / Rsbuild would be better than Vite. I see source.include.
My main issue with Vite is that there's poor support for monorepos / workspaces.
For a few reasons, I want
@villagekitmodules to be re-compiled and re-bundled:I had to make a hack to trick Vite into thinking workspace packages were internal files.
In Next.js, this is as easy as
transpilePackages.I wonder if Rspack / Rsbuild would be better than Vite. I see source.include.