lihugang/mep2

Migrating from Webpack to Vite

Closed this issue · 1 comments

Because of my computer performance and project size, the using time of one hot update in webpack is about one minute, and building frontend assets usually takes 10 minutes. That's too long. I'm planning to migrate to vite.

After migrating to vite4, we can do hot updates in 5s, and build production code in about 100s.
Here's a log.
build.log