Skip to content

chore: use rspack for faster builds #4319

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

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Conversation

tenstad
Copy link
Contributor

@tenstad tenstad commented Dec 30, 2024

https://docusaurus.io/blog/releases/3.6#docusaurus-faster

Experimental but safe
Don't be afraid to turn this feature on. What's experimental is the config options.

The new infrastructure is robust and well-tested by our CI pipeline. The Docusaurus site already uses it in production, and we plan to use it on other Meta docs sites as well.

What changed?

Started using faster for faster builcs.

webpack kept as dep due to

➤ YN0002: │ weave-gitops-docs@workspace:. doesn't provide webpack (pd0468), requested by file-loader and other dependencies.

Why was this change made?
To reduce build time from 6m to 2m20s

https://github.com/weaveworks/weave-gitops/actions/runs/12546069919/job/34981281244
https://github.com/weaveworks/weave-gitops/actions/runs/12546164995/job/34981533607

How was this change implemented?

How did you validate the change?

Release notes

Documentation Changes

@tenstad tenstad changed the title chore: swap webpack for rspack chore: use rspack for faster builds Dec 30, 2024
@tenstad tenstad marked this pull request as ready for review December 30, 2024 12:14
@casibbald casibbald merged commit db9dc3f into weaveworks:main Dec 30, 2024
19 checks passed
This was referenced Jan 15, 2025
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

Successfully merging this pull request may close these issues.

2 participants