Skip to content
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

fix: css-extract-plugin should keep file dependencies #6576

Merged
merged 1 commit into from
May 20, 2024

Conversation

JSerFeng
Copy link
Collaborator

Summary

close #6422

The incremental build requires fileDependencies and contextDependencies. When a file is modified, we remove all affected modules based on these dependencies. Modules are considered affected if their fileDependencies include the modified file. However, CSS modules in CssExtract do not have file dependencies, preventing the module graph from updating the CSS module.

Checklist

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

@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label May 20, 2024
Copy link

netlify bot commented May 20, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 8ce502a
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/664ac1470eccce0008d62e73

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label May 20, 2024
@JSerFeng JSerFeng merged commit 093a237 into main May 20, 2024
34 checks passed
@JSerFeng JSerFeng deleted the fix/extract-css-hmr branch May 20, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: bug fix release: bug 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.

[Bug]: TailwindCSS HMR not work with rspack.CssExtractRspackPlugin.loader
2 participants