Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packages/loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,17 @@
"source-map": "^0.7.0"
},
"peerDependencies": {
"@rspack/core": "0.x || 1.x",
"webpack": ">=5"
},
"peerDependenciesMeta": {
"@rspack/core": {
"optional": true
},
"webpack": {
"optional": true
}
},
"devDependencies": {},
"scripts": {
"test": "npm run test-coverage",
Expand Down
5 changes: 2 additions & 3 deletions packages/loader/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Backers][backers-badge]][collective]
[![Chat][chat-badge]][chat]

webpack loader for MDX.
webpack / Rspack loader for MDX.

<!-- more -->

Expand All @@ -34,8 +34,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).
This integration is useful if you’re using webpack or Rspack (or another tool that uses webpack, such as Next.js).

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