Skip to content

feat(plugin): add "addContextDependency" and "addMissingDependency" to api.transform#4892

Merged
SoonIter merged 3 commits intomainfrom
rsbuild/add-context-dependency
Mar 27, 2025
Merged

feat(plugin): add "addContextDependency" and "addMissingDependency" to api.transform#4892
SoonIter merged 3 commits intomainfrom
rsbuild/add-context-dependency

Conversation

@SoonIter
Copy link
Member

@SoonIter SoonIter commented Mar 27, 2025

Summary

api.transform is a re-export of loaderContext api,

There is an addDependency but no addContextDependency, this is very weird.

Related Links

for watching directory in

https://github.com/rspack-contrib/rsbuild-plugin-virtual-module/blob/191cddc71ecc494b06febd77dc1b7f58953cf3f3/test/basic/rsbuild.config.ts#L10

Checklist

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

@netlify
Copy link

netlify bot commented Mar 27, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 7d9d64b
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/67e4fb6e1f51600008fb7264
😎 Deploy Preview https://deploy-preview-4892--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 73 (🔴 down 3 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

@SoonIter SoonIter requested review from 9aoy and chenjiahan March 27, 2025 07:04
9aoy
9aoy previously approved these changes Mar 27, 2025
@SoonIter SoonIter enabled auto-merge (squash) March 27, 2025 07:18
@SoonIter SoonIter requested a review from 9aoy March 27, 2025 07:18
@SoonIter SoonIter merged commit 5f66734 into main Mar 27, 2025
11 checks passed
@SoonIter SoonIter deleted the rsbuild/add-context-dependency branch March 27, 2025 07:28
@chenjiahan chenjiahan mentioned this pull request Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants