@tomjs/vite-plugin-vscode 1.0.0 → 1.0.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 +6 -0
- package/README.zh_CN.md +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,6 +29,12 @@ yarn add @tomjs/vite-plugin-vscode -D
|
|
|
29
29
|
npm i @tomjs/vite-plugin-vscode --save-dev
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
+
If you use `pnpm` and enable `webview` debugging, you need to additionally install the dependency [@tomjs/vscode-extension-webview](https://github.com/tomgao365/vscode-extension-webview)
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pnpm add @tomjs/vscode-extension-webview -D
|
|
36
|
+
```
|
|
37
|
+
|
|
32
38
|
## Usage
|
|
33
39
|
|
|
34
40
|
### Recommended Agreement
|
package/README.zh_CN.md
CHANGED
|
@@ -29,6 +29,12 @@ yarn add @tomjs/vite-plugin-vscode -D
|
|
|
29
29
|
npm i @tomjs/vite-plugin-vscode --save-dev
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
+
如果使用 `pnpm` 且开启 `webview` 调试,需要额外安装[@tomjs/vscode-extension-webview](https://github.com/tomgao365/vscode-extension-webview) 这个依赖
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pnpm add @tomjs/vscode-extension-webview -D
|
|
36
|
+
```
|
|
37
|
+
|
|
32
38
|
## 使用说明
|
|
33
39
|
|
|
34
40
|
### 推荐约定
|
|
@@ -222,7 +228,7 @@ export default defineConfig({
|
|
|
222
228
|
|
|
223
229
|
## Debug
|
|
224
230
|
|
|
225
|
-
通过 `vscode` 运行 `
|
|
231
|
+
通过 `vscode` 运行 `Run Extension` 调试,调试工具参考 [官方文档](https://code.visualstudio.com/docs/editor/debugging)
|
|
226
232
|
|
|
227
233
|
`launch.json` 配置如下:
|
|
228
234
|
|