Skip to content

feat: lazy compilation middleware supports multiCompiler #9828

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JSerFeng
Copy link
Contributor

@JSerFeng JSerFeng commented Mar 28, 2025

Summary

Lazy compilation middleware can receive multiCompiler as parameter

When there is a module triggers update, we notify the multiWatching, then multiWatching will invalidate its sub watching.

Every compiler can has its own lazy-compilation config, for example you can make compiler_1 only lazy compiles entries, while compiler_2 only lazy compiles imports

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack. labels Mar 28, 2025
Copy link

netlify bot commented Mar 28, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 578a468
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67e6740a06589e0008599384
😎 Deploy Preview https://deploy-preview-9828--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codspeed-hq bot commented Mar 28, 2025

CodSpeed Performance Report

Merging #9828 will not alter performance

Comparing feat/lazy-compilation-multi-compiler (578a468) with main (8d0a2b7)

🎉 Hooray! codspeed-rust just leveled up to 2.7.2!

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.

Summary

✅ 8 untouched benchmarks

@JSerFeng JSerFeng force-pushed the feat/lazy-compilation-multi-compiler branch from 241fc39 to 578a468 Compare March 28, 2025 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant