code-inspector-plugin 0.9.0 → 0.9.2-beta.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.
- package/README.md +20 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
[](https://www.npmjs.com/package/code-inspector-plugin)
|
|
10
|
-
[](https://npmcharts.com/compare/code-inspector-plugin?minimal=true)
|
|
11
11
|
[](https://opensource.org/licenses/MIT)
|
|
12
|
+
[](https://github.com/zh-lx/code-inspector)
|
|
13
|
+
[](https://github.com/zh-lx/code-inspector)
|
|
12
14
|
|
|
13
15
|
</div>
|
|
14
16
|
|
|
@@ -219,6 +221,23 @@ Please check here for more usage information: [code-inspector-plugin configurati
|
|
|
219
221
|
|
|
220
222
|
</details>
|
|
221
223
|
|
|
224
|
+
<details>
|
|
225
|
+
<summary>Click to expand configuration about: <b>astro</b></summary>
|
|
226
|
+
|
|
227
|
+
```js
|
|
228
|
+
// astro.config.mjs
|
|
229
|
+
import { defineConfig } from 'astro/config';
|
|
230
|
+
import { codeInspectorPlugin } from 'code-inspector-plugin';
|
|
231
|
+
|
|
232
|
+
export default defineConfig({
|
|
233
|
+
vite: {
|
|
234
|
+
plugins: [codeInspectorPlugin({ bundler: 'vite' })],
|
|
235
|
+
},
|
|
236
|
+
});
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
</details>
|
|
240
|
+
|
|
222
241
|
- 2.Configuring VSCode Command Line Tool
|
|
223
242
|
|
|
224
243
|
> **Tip:** Skip for Windows or other IDEs <br />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-inspector-plugin",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2-beta.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.9.
|
|
43
|
-
"
|
|
44
|
-
"
|
|
42
|
+
"code-inspector-core": "0.9.2-beta.1",
|
|
43
|
+
"vite-code-inspector-plugin": "0.9.2-beta.1",
|
|
44
|
+
"webpack-code-inspector-plugin": "0.9.2-beta.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "^16.0.1",
|