@tomjs/vite-plugin-electron 1.3.7 → 1.3.8

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
@@ -278,13 +278,13 @@ Run `Debug Main Process` through `vscode` to debug the main thread. For debuggin
278
278
  "name": "Debug Main Process",
279
279
  "type": "node",
280
280
  "request": "launch",
281
- "cwd": "${workspaceRoot}",
282
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
281
+ "cwd": "${workspaceFolder}",
282
+ "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
283
283
  "windows": {
284
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
284
+ "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
285
285
  },
286
286
  "args": ["."],
287
- "envFile": "${workspaceRoot}/node_modules/@tomjs/vite-plugin-electron/debug/.env"
287
+ "envFile": "${workspaceFolder}/node_modules/@tomjs/vite-plugin-electron/debug/.env"
288
288
  }
289
289
  ]
290
290
  }
package/README.zh_CN.md CHANGED
@@ -277,13 +277,13 @@ app.whenReady().then(() => {
277
277
  "name": "Debug Main Process",
278
278
  "type": "node",
279
279
  "request": "launch",
280
- "cwd": "${workspaceRoot}",
281
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
280
+ "cwd": "${workspaceFolder}",
281
+ "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
282
282
  "windows": {
283
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
283
+ "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
284
284
  },
285
285
  "args": ["."],
286
- "envFile": "${workspaceRoot}/node_modules/@tomjs/vite-plugin-electron/debug/.env"
286
+ "envFile": "${workspaceFolder}/node_modules/@tomjs/vite-plugin-electron/debug/.env"
287
287
  }
288
288
  ]
289
289
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomjs/vite-plugin-electron",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "A simple vite plugin for electron, supports esm/cjs, support esm in electron v28+",
5
5
  "keywords": [
6
6
  "vite",