Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-forge-plugin-vite

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-forge-plugin-vite - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

4

dist/ViteConfig.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc