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

Change webpack peer dependency to optional in loader #2440

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
"peerDependencies": {
"webpack": ">=5"
},
"peerDependenciesMeta": {
"webpack": {
"optional": true
}
},
"devDependencies": {},
"scripts": {
"test": "npm run test-coverage",
Expand Down
2 changes: 1 addition & 1 deletion packages/loader/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This package is a webpack loader to support MDX.
## When should I use this?

This integration is useful if you’re using webpack (or another tool that uses
webpack, such as Next.js).
webpack, such as Next.js or Rspack).

This integration can be combined with the Babel loader to compile modern
JavaScript features to ones your users support.
Expand Down