-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: migrate from Webpack to Vite #2002
Conversation
ShGKme
commented
Aug 12, 2024
- Migrate from Webpack to Vite, including:
- Using ESBuild
- Extracting CSS
Metric | Before | After |
---|---|---|
Build time | 16s | 9s |
main page size | 4 MB | 1.3 MB JS + 0.01 MB CSS |
settings page size | 3.7 MB | 0.6 MB JS + 0.07 MB CSS |
admin-settings page size | 3.6 MB | 0.5 MB JS + 0.04 MB CSS |
total size | 6.4 MB | 1.4 MB JS + 0.12 MB CSS |
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Checking reuse |
bc1b0a6
to
6179314
Compare
Add |
Not only. Also |
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Smoke tested, works fine. Changes also look valid. Thanks!
/backport to stable30 |