-
-
Notifications
You must be signed in to change notification settings - Fork 781
Labels
teamThe issue/pr is created by the member of Rspack.The issue/pr is created by the member of Rspack.tracking issueCategory: A tracking issue for an RFC or an unstable feature.Category: A tracking issue for an RFC or an unstable feature.
Description
RFC: #8243
Docs: https://rspack.dev/config/experiments#experimentsincremental
This issue tracks the progress of affected-based incremental rebuild:
- proof of concept, implement for some passes
- more tests, enable for bytedance internal projects, stabilize for some passes (👈 we are here)
- stabilize all passes and enable by default
The passes we planned to support:
- make (already implemented before, but may need some refactors)
- provided exports (done): feat: apply affected modules for provide exports #7703
- infer async modules (done): fix: infer async modules when incremental enabled #7927
- collect dependencies diagnostics (done): feat: incremental for collecting dependencies diagnostics #8127
- side effects (done): feat(incremental): side effects optimization #8799
- build chunk graph (done @JSerFeng): perf: incremental build chunk graph #7721
- module ids (done): feat(incremental): named module ids #8593
- chunk ids (done): feat(incremental): named chunk ids #8652
- modules hashes (done): feat: apply affected modules to all cgm phase #7684
- modules codegen (done): fix: reuse codegen results only for new incremental #7681
- modules runtime requirements (done): feat: apply affected modules to all cgm phase #7684
- chunks runtime requirements (done): feat(incremental): chunk level incremental #8367
- chunks hash (done): feat(incremental): chunk level incremental #8367
- chunks render (done): feat(incremental): render chunk manifest #8440
- emit assets (already implemented before, but may need some refactors)
Currently you can enable this by experiments.incremental = true, feel free to report bugs to us.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
teamThe issue/pr is created by the member of Rspack.The issue/pr is created by the member of Rspack.tracking issueCategory: A tracking issue for an RFC or an unstable feature.Category: A tracking issue for an RFC or an unstable feature.