backstage icon indicating copy to clipboard operation
backstage copied to clipboard

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

Open JounQin opened this issue 1 year ago • 6 comments

🔖 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?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

JounQin avatar Dec 01 '23 11:12 JounQin

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 :)

freben avatar Dec 02 '23 07:12 freben

I'd like to work on this.

JounQin avatar Dec 02 '23 07:12 JounQin

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.

tudi2d avatar Dec 04 '23 12:12 tudi2d

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] avatar Feb 02 '24 12:02 github-actions[bot]

ping

I'll work on this soon.

JounQin avatar Feb 02 '24 13:02 JounQin

@freben @tudi2d

Please help to review #22698

JounQin avatar Feb 06 '24 14:02 JounQin

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] avatar Apr 06 '24 14:04 github-actions[bot]

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? 🙏🏻

Flexicon avatar Apr 07 '24 18:04 Flexicon

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.

awanlin avatar Apr 07 '24 18:04 awanlin

Thanks for the insight @awanlin - makes perfect sense.

Flexicon avatar Apr 07 '24 18:04 Flexicon

@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.

Rugvip avatar Apr 07 '24 19:04 Rugvip

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

awanlin avatar Apr 07 '24 19:04 awanlin

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

JounQin avatar Apr 08 '24 06:04 JounQin

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] avatar Jun 07 '24 06:06 github-actions[bot]

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] avatar Aug 06 '24 12:08 github-actions[bot]

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

JounQin avatar Aug 08 '24 17:08 JounQin

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

drodil avatar Aug 14 '24 09:08 drodil