@rsdoctor/docs 0.1.10 → 0.2.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -105,7 +105,7 @@ For projects using Modern.js Webpack mode, please register the `RsdoctorWebpackP
|
|
|
105
105
|
Initialize the RsdoctorWebpackPlugin plugin in the [Webpack Config](https://nextjs.org/docs/app/api-reference/next-config-js/webpack) of `next.config.mjs`.
|
|
106
106
|
|
|
107
107
|
```ts title="next.config.mjs"
|
|
108
|
-
import {
|
|
108
|
+
import { RsdoctorWebpackPlugin } from '@rsdoctor/webpack-plugin';
|
|
109
109
|
|
|
110
110
|
export default {
|
|
111
111
|
// ...
|
|
@@ -105,7 +105,7 @@ export default {
|
|
|
105
105
|
在 `next.config.js` 的 [Webpack Config](https://nextjs.org/docs/app/api-reference/next-config-js/webpack) 中初始化 RsdoctorWebpackPlugin 插件。
|
|
106
106
|
|
|
107
107
|
```ts title="next.config.mjs"
|
|
108
|
-
import {
|
|
108
|
+
import { RsdoctorWebpackPlugin } from '@rsdoctor/webpack-plugin';
|
|
109
109
|
|
|
110
110
|
export default {
|
|
111
111
|
// ...
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/docs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.2.1-beta.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"rsbuild-plugin-open-graph": "1.0.0",
|
|
29
29
|
"rspress-plugin-font-open-sans": "^1.0.0",
|
|
30
30
|
"typescript": "^5.2.2",
|
|
31
|
-
"@rsdoctor/types": "0.1.
|
|
31
|
+
"@rsdoctor/types": "0.2.1-beta.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"framer-motion": "^10.17.6",
|