viteJS, how to ‘reproduce’ Auto Code Splitting based on dynamic imports with manualChunks?
I use ViteJS integrated with PHP as a backend.
Rollup: Merge a split chunk back into the entrypoint
I have a module with a good handful of chunks A
, B
, C
, and D
, all of which rely on a shared utilities file which Rollup separately chunks.
How to auto expose imported symbols to window/globalThis via Vite/Rollup
I’m using Vite
VITE various build processes inside the same “project”
Ok, so I have a self-made monorepo where i have several vite projects, for various purposes.
3 of those projects, are extemely coupled to each other and i would love to have them in the same “workspace” directory, sharing the same package.json.
This is the package.json i currently have for the main one of the three:
Using vite / rollup with npm workspaces, issue with react on production build
I am trying to create a local shared folder / workspace / package to share code between projects in a monorepo using npm workspaces, and it works in vite dev mode, but not when I build and preview using vite / rollup.