code-inspector-plugin 0.10.0 → 0.11.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.
- package/README.md +25 -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
|
|
|
@@ -276,7 +299,7 @@ For Chinese users, you can you can join the QQ group `769748484` add the author'
|
|
|
276
299
|
|
|
277
300
|
## 💖 Sponsor
|
|
278
301
|
|
|
279
|
-
|
|
302
|
+
Sponsoring this project can help the author create better . If you needed, you can contact the author to have your avatar added to the list of sponsors.
|
|
280
303
|
|
|
281
304
|
- Afdian(爱发电): https://afdian.net/a/zhoulixiang
|
|
282
305
|
- Alipay or WeChatPay:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-inspector-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
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.
|
|
43
|
-
"
|
|
44
|
-
"
|
|
42
|
+
"code-inspector-core": "0.11.0",
|
|
43
|
+
"webpack-code-inspector-plugin": "0.11.0",
|
|
44
|
+
"vite-code-inspector-plugin": "0.11.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "^16.0.1",
|