backstage / backstage

Backstage is an open framework for building developer portals
https://backstage.io/
Apache License 2.0
27.57k stars 5.84k forks source link

🚀 Feature: migrate from `webpack` to `rspack` #21682

Open JounQin opened 9 months ago

JounQin commented 9 months ago

🔖 Feature description

https://www.rspack.dev

Rspack is

A fast Rust-based web bundler Build a high-performance frontend toolchain

🎤 Context

rspack is much faster then webpack and it is compatible to migrate smoothly, at least that's what they claim.

✌️ Possible Implementation

N/A

👀 Have you spent some time to check if this feature request has been raised before?

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

freben commented 9 months ago

If someone goes through the effort and posts a PR with timing results, it'd be interesting to see. But no promises that it'll be accepted :)

JounQin commented 9 months ago

I'd like to work on this.

tudi2d commented 9 months ago

We are trying out Vite already to replace some parts of our Webpack build pipeline. We would not be able to promise you, that we would actually want to ship rspack. Changing the build tool can be quite a big effort. If you want to work on this regardless you are free to do so.

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

JounQin commented 7 months ago

ping

I'll work on this soon.

JounQin commented 7 months ago

@freben @tudi2d

Please help to review #22698

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Flexicon commented 5 months ago

Would be really great to see this implemented!

@Rugvip - it looks like the above PR by @JounQin was unfortunately overlooked thus far. Any chance you or another maintainer of Backstage could take a look? 🙏🏻

awanlin commented 5 months ago

I'm not a maintainer but fairly active and this is what I know. There's a lot of work being done around auth and a few other things that are keeping the core team pretty busy. Getting this after that work is probably the plan as this could have a large impact. It's just going to take time for them to get to it.

Flexicon commented 5 months ago

Thanks for the insight @awanlin - makes perfect sense.

Rugvip commented 5 months ago

@Flexicon it's actually stale from the author side. We discussed it in a SIG meeting and settled on adding experimental support behind a flag and optional peer dependencies. This is now waiting for a contribution to add that.

awanlin commented 5 months ago

Thanks @Rugvip, I thought there had been some discussions on this 👍

JounQin commented 5 months ago

I'm stuck on business work these days and will be back soon.

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

JounQin commented 1 month ago

Sorry I'm extremely late here, please help to review #25953.

drodil commented 1 month ago

Interesting. Are there any measurements of how much faster it is in this project?