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: type mismatch when using webpack plugins #7455

Merged
merged 4 commits into from
Aug 6, 2024

Conversation

chenjiahan
Copy link
Member

@chenjiahan chenjiahan commented Aug 6, 2024

Summary

Fix type mismatch when using webpack plugins. For example, using the html-webpack-plugin:

Screenshot 2024-08-06 at 11 12 04

The Compiler type of webpack is not exactly the same as Rspack. And It is allowed to use webpack plugins in in the Rspack config, so this PR added loose plugin types to adapt to webpack plugins.

Similar to: web-infra-dev/rsbuild#1118

Checklist

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

@github-actions github-actions bot added release: bug fix release: bug related release(mr only) team The issue/pr is created by the member of Rspack. labels Aug 6, 2024
@chenjiahan chenjiahan requested a review from 9aoy August 6, 2024 03:24
Copy link

netlify bot commented Aug 6, 2024

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit fc79461
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66b1fe9d997b9d0008dca44c
😎 Deploy Preview https://deploy-preview-7455--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.

@chenjiahan chenjiahan enabled auto-merge (squash) August 6, 2024 07:29
@chenjiahan chenjiahan merged commit 7c2c6a8 into main Aug 6, 2024
28 checks passed
@chenjiahan chenjiahan deleted the webpack_plugin_type_0806 branch August 6, 2024 10:52
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.

2 participants