electron-forge-plugin-vite
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -46,3 +46,5 @@ "use strict"; | ||
// https://github.com/vitejs/vite/blob/v4.0.4/packages/vite/src/node/http.ts#L170 | ||
defines[`${NAME}_VITE_SERVER_URL`] = this.isProd ? undefined : ((_a = userConfig === null || userConfig === void 0 ? void 0 : userConfig.server) === null || _a === void 0 ? void 0 : _a.port) && JSON.stringify(`http://localhost:${userConfig.server.port}`); | ||
defines[`${NAME}_VITE_DEV_SERVER_URL`] = this.isProd | ||
? undefined | ||
: ((_a = userConfig === null || userConfig === void 0 ? void 0 : userConfig.server) === null || _a === void 0 ? void 0 : _a.port) && JSON.stringify(`http://localhost:${userConfig.server.port}`); | ||
defines[`${NAME}_VITE_NAME`] = JSON.stringify(name); | ||
@@ -49,0 +51,0 @@ } |
{ | ||
"name": "electron-forge-plugin-vite", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Vite plugin for Electron Forge, lets you use Vite directly in your tooling", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -19,3 +19,3 @@ ## plugin-vite | ||
{ | ||
// `entry` is just an alias for `build.lib.entry` in the `config` counterpart file. | ||
// `entry` is just an alias for `build.lib.entry` in the corresponding file of `config`. | ||
entry: 'src/main.js', | ||
@@ -38,3 +38,3 @@ config: 'vite.main.config.mjs', | ||
], | ||
} | ||
}; | ||
``` |
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
27390
384