@tomjs/vite-plugin-vscode 2.0.0 → 2.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 CHANGED
@@ -182,7 +182,7 @@ process.env.VITE_DEV_SERVER_URL
182
182
  function __getWebviewHtml__(options?: string | { serverUrl: string }): string;
183
183
 
184
184
  /**
185
- * `[vite serve]` Gets the html of webview in production mode.
185
+ * `[vite build]` Gets the html of webview in production mode.
186
186
  * @param webview The WebviewPanel instance of the extension.
187
187
  * @param context The ExtensionContext instance of the extension.
188
188
  * @param inputName vite build.rollupOptions.input name. Default is `index`.
package/README.zh_CN.md CHANGED
@@ -186,7 +186,7 @@ process.env.VITE_DEV_SERVER_URL
186
186
  function __getWebviewHtml__(options?: string | { serverUrl: string }): string;
187
187
 
188
188
  /**
189
- * `[vite serve]` 在生产模式获取webview的html
189
+ * `[vite build]` 在生产模式获取webview的html
190
190
  * @param webview 扩展的 Webview 实例
191
191
  * @param context 扩展的 ExtensionContext 实例
192
192
  * @param inputName vite build.rollupOptions.input 设置的名称. 默认 `index`.
package/env.d.ts CHANGED
@@ -31,7 +31,7 @@ declare global {
31
31
  function __getWebviewHtml__(options?: string | { serverUrl: string }): string;
32
32
 
33
33
  /**
34
- * `[vite serve]` Gets the html of webview in production mode.
34
+ * `[vite build]` Gets the html of webview in production mode.
35
35
  * @param webview The Webview instance of the extension.
36
36
  * @param context The ExtensionContext instance of the extension.
37
37
  * @param inputName vite build.rollupOptions.input name. Default is `index`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomjs/vite-plugin-vscode",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Use vue/react to develop 'vscode extension webview', supporting esm/cjs",
5
5
  "keywords": [
6
6
  "vite",