feat!: upgrade rollup to 3.x
Resolves #569
WIP: There are some internal plugins to be updated
Dependant plugin updates:
├─┬ rollup-plugin-terser 7.0.2
│ └── ✕ unmet peer rollup@^2.0.0: found 3.2.0
└─┬ rollup-plugin-visualizer 5.8.2
└── ✕ unmet peer rollup@^2.0.0: found 3.2.0
If we merge + release this, is there a chance this will produce package manager issues as long as vite is still using rollup v2? (Might be worth testing on npm, yarn & pnpm within a nuxt project before merging.)
I guess rollup 2 is directly bundled into vite. I hope there are not issues with rollup plugins implicitly used for vite. But surely we can do a sanity check before...
rollup 2 is a dependency of vite and not bundled into it. Rollup 3 support is planned for an upcoming major release. I doubt there will be issues with the official rollup plugins, which seem to be designed to be compatible with both 2/3.
Ah right seems not bundled anymore 🤦🏼♂️