platform
platform copied to clipboard
AC: Vite as a primary frontend build tool
Description
Make Vite as a primary tool for building Vaadin frontend, make Webpack as an optional tool available behind the feature flag, see https://github.com/vaadin/flow/issues/13852.
Use cases
As a developer
I want to have a faster build, startup and hot reloads of my Vaadin applications
So to have a better developer experience and faster development process.
Acceptance criteria
- [x] The offline path is requested regardless of the original path when online in dev mode issue is fixed
- [ ] Vite projects do not work with pnpm 7 is fixed
- [x] Vite is used by default, Webpack is behind a feature flag
- [ ] Documentation updated accordingly.
- [x] Vite tests covers at least the same amount use cases as for Webpack.
General criteria
- [ ] Performance
- [x] UX/DX tests in Alpha
- [ ] Documentation:
- [ ] How to test?
- [ ] Limitations: