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

console: Move to rspack/rsbuild #1414

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

malinskibeniamin
Copy link
Contributor

@malinskibeniamin malinskibeniamin commented Aug 27, 2024

Similarly to other PRs, we would like to use rspack and stay consistent with the other Cloud UIs.

This PR paves the way towards enhanced module federation usage, and cloud UI PR is also being migrated rspack for that reason.

The build + start commands are already working.

Needs extensive checks (I didn't have console fully set up to try out locally e2e)

We also added rsdoctor plugin which is a tool for bundle analysis.
Screenshot 2024-08-28 at 09 53 05
Screenshot 2024-08-28 at 09 54 43


https://github.com/web-infra-dev/rspack/releases
https://rspack.dev/blog/announcing-1-0
https://github.com/rspack-contrib/performance-compare

https://x.com/rspack_dev
https://rspack.dev/guide/migration/cra
https://rspack.dev/guide/features/module-federation

Example build

npm run build

~/D/g/c/frontend (chore/move-console-to-rspack|✚2) $ npm run build

> [email protected] build
> rsbuild build

  Rsbuild v1.0.1-rc.0

● web ━━━━━━━━━━━━━━━━━━━━━━━━━ (100%) emitting after emit                                                                                                                                ready   Compiled in 10.9 s (web)
info    Production file sizes for web:

...

  Total size:  20274.7 kB
  Gzipped size:  8797.4 kB

npm run start

~/D/g/c/frontend (chore/move-console-to-rspack|✚2) $ npm run start

> [email protected] start
> rsbuild dev

  Rsbuild v1.0.1-rc.0

  > Local:    http://localhost:3000/
  > Network:  http://192.168.0.196:3000/

start   Compiling...
ready   Compiled in 2.56 s (web)

@CLAassistant
Copy link

CLAassistant commented Aug 27, 2024

CLA assistant check
All committers have signed the CLA.

@malinskibeniamin malinskibeniamin force-pushed the chore/move-console-to-rspack branch 2 times, most recently from d9af571 to ed980c6 Compare August 27, 2024 11:13
@malinskibeniamin malinskibeniamin added performance Performance is one of the concerns ui/ux labels Aug 27, 2024
@malinskibeniamin malinskibeniamin force-pushed the chore/move-console-to-rspack branch 2 times, most recently from d72e821 to e24a2ac Compare August 28, 2024 06:19
@malinskibeniamin malinskibeniamin changed the title console: Move to rspack console: Move to rspack 1.0.0 Aug 28, 2024
@malinskibeniamin malinskibeniamin changed the title console: Move to rspack 1.0.0 console: Move to rspack/rsbuild Sep 30, 2024
@sago2k8 sago2k8 force-pushed the chore/move-console-to-rspack branch from 86c9573 to 878a3db Compare October 1, 2024 14:55
Signed-off-by: Santiago Jimenez Giraldo <[email protected]>
@sago2k8 sago2k8 force-pushed the chore/move-console-to-rspack branch from 5755425 to da8f5c5 Compare October 2, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend performance Performance is one of the concerns ui/ux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants