Manualchunks breaks build process and throws rollup error #12448
Labels
bug: upstream
Bug in a dependency of Vite
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
Since vite 4.0 i've noticed that manualchunks has been moved to an other part somewhere in the configuration object. All fine moved it over how the documentation provided it.
Next time I build the project it resulted in throwing an rollup error which was kind of odd. There is a temporary work-around but I would like to use the full potential of rollup 3 instead 2.
The error that it throws you can see the image that i provided.
additional note:
I get the same exact / identical error in an other project.
Reproduction
https://github.com/welpie21/vite-manualchunks-issue
Steps to reproduce
reproduce
temporary workaround
Add the following to your package.json:
try again:
System Info
Used Package Manager
pnpm
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: