vite-plugin-electron
Advanced tools
Comparing version 0.28.5 to 0.28.6
@@ -25,3 +25,3 @@ /// <reference types="node" /> | ||
*/ | ||
startup: (argv?: string[], options?: import('node:child_process').SpawnOptions) => Promise<void>; | ||
startup: (argv?: string[], options?: import('node:child_process').SpawnOptions, customElectronPkg?: string) => Promise<void>; | ||
/** Reload Electron-Renderer */ | ||
@@ -28,0 +28,0 @@ reload: () => void; |
@@ -50,2 +50,5 @@ "use strict"; | ||
resolve: { | ||
// @ts-ignore | ||
browserField: false, | ||
conditions: ["node"], | ||
// #98 | ||
@@ -190,3 +193,3 @@ // Since we're building for electron (which uses Node.js), we don't want to use the "browser" field in the packages. | ||
if (process.electronApp) { | ||
server.hot.send({ type: "full-reload" }); | ||
(server.hot || server.ws).send({ type: "full-reload" }); | ||
} else { | ||
@@ -193,0 +196,0 @@ startup(); |
{ | ||
"name": "vite-plugin-electron", | ||
"version": "0.28.5", | ||
"version": "0.28.6", | ||
"description": "Electron 🔗 Vite", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -152,3 +152,3 @@ <p align="center"> | ||
*/ | ||
startup: (argv?: string[], options?: import('node:child_process').SpawnOptions) => Promise<void> | ||
startup: (argv?: string[], options?: import('node:child_process').SpawnOptions, customElectronPkg?: string) => Promise<void> | ||
/** Reload Electron-Renderer */ | ||
@@ -155,0 +155,0 @@ reload: () => void |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52666
914