Skip to content
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

基于rspack从0改造当前项目 #4223

Open
luoriwusheng-xia opened this issue Jan 24, 2024 · 3 comments
Open

基于rspack从0改造当前项目 #4223

luoriwusheng-xia opened this issue Jan 24, 2024 · 3 comments

Comments

@luoriwusheng-xia
Copy link

大家好,我目前在玩rspack , 字节开源的一个打包工具,基于 Rust

将当前项目的 master 分支进行改造,发现可以稳定运行,且开发速度和打包速度有明显提升,大家可以看下面的仓库,从中寻找自己业务迁移到 rspack 的灵感,欢迎 starfork

https://gitee.com/luoriwusheng/vue-element-admin

Bug report(问题描述)

Steps to reproduce(问题复现步骤)

Screenshot or Gif(截图或动态图)

image

构建时间
image

4.63s

开发冷启动时间
4-5s

改造前: 14s

node: 20.10.0
@luoriwusheng-xia
Copy link
Author

每个问题的处理, 都单独一个 commit

可以参照着看。 如果自己业务遇到,直接能一比一看到结果

@luoriwusheng-xia
Copy link
Author

image

@chenjiahan
Copy link

使用 Rsbuild 来改造会更加容易,Rsbuild 是基于 Rspack 实现的构建工具,开箱即用。

https://rsbuild.dev/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants