lonely-lockley / archinsight

Simplicity in Code, Power in Design
https://archinsight.org
GNU Affero General Public License v3.0
51 stars 5 forks source link

Migrate frontend build from Webpack to Vite #58

Closed lonely-lockley closed 8 months ago

lonely-lockley commented 10 months ago

I could not launch the project on Vite - something in build scripts cased a Stack overflow exception. This is a blocker for migration to Vaadin version 24+ and Jetty 10+. The problem was somewhere around building Monaco web workers. I could make the project start, but the worker size was around 1Gb. If I enabled compaction - the whole thing broke immediately. Vaadin version 23 is the last one with Webpack support and it requires Jetty 10.x where Atmosphere framework is broken. This is the reason the project does not use Websockets. We have to migrate to Vite.