Skip to content

chore: use rspack for faster builds#4319

Merged
casibbald merged 1 commit intoweaveworks:mainfrom
tenstad:faster
Dec 30, 2024
Merged

chore: use rspack for faster builds#4319
casibbald merged 1 commit intoweaveworks:mainfrom
tenstad:faster

Conversation

@tenstad
Copy link
Copy Markdown
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
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