code-inspector-plugin 0.10.0 → 0.10.1

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.
Files changed (2) hide show
  1. package/README.md +24 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -38,7 +38,7 @@ The following are which compilers, web frameworks and editors we supported now:
38
38
  - The following bundlers are currently supported:<br />
39
39
  ✅ webpack<br />
40
40
  ✅ vite<br />
41
- ✅ rspack<br />
41
+ ✅ rspack / rsbuild<br />
42
42
  ✅ nextjs / nuxt / umijs eg.<br />
43
43
  - The following Web frameworks are currently supported:<br />
44
44
  ✅ vue2<br />
@@ -124,6 +124,29 @@ Please check here for more usage information: [code-inspector-plugin configurati
124
124
 
125
125
  </details>
126
126
 
127
+ <details>
128
+ <summary>Click to expand configuration about: <b>rsbuild</b></summary>
129
+
130
+ ```js
131
+ // rsbuild.config.js
132
+ const { codeInspectorPlugin } = require('code-inspector-plugin');
133
+
134
+ module.exports = {
135
+ // other config...
136
+ tools: {
137
+ rspack: {
138
+ plugins: [
139
+ codeInspectorPlugin({
140
+ bundler: 'rspack',
141
+ }),
142
+ ],
143
+ },
144
+ },
145
+ };
146
+ ```
147
+
148
+ </details>
149
+
127
150
  <details>
128
151
  <summary>Click to expand configuration about: <b>vue-cli</b></summary>
129
152
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-inspector-plugin",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "typings": "./types/index.d.ts",
@@ -39,9 +39,9 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "chalk": "4.1.1",
42
- "code-inspector-core": "0.10.0",
43
- "vite-code-inspector-plugin": "0.10.0",
44
- "webpack-code-inspector-plugin": "0.10.0"
42
+ "code-inspector-core": "0.10.1",
43
+ "webpack-code-inspector-plugin": "0.10.1",
44
+ "vite-code-inspector-plugin": "0.10.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/node": "^16.0.1",