vite-plugin-electron
Advanced tools
Comparing version 0.14.0-beta.0 to 0.14.0
@@ -10,3 +10,3 @@ import { type Plugin } from 'vite'; | ||
* | ||
* Preload scripts perhaps bundle as web format, so use the `build.rollupOptions.input` instead `build.lib.entry`. | ||
* Preload scripts may contain Web assets, so use the `build.rollupOptions.input` instead `build.lib.entry`. | ||
*/ | ||
@@ -13,0 +13,0 @@ input: InputOption; |
@@ -46,2 +46,4 @@ "use strict"; | ||
output: { | ||
// For use the Electron API - `import { contextBridge, ipcRenderer } from 'electron'` | ||
format: "cjs", | ||
// Only one file will be bundled, which is consistent with the behavior of `build.lib` | ||
@@ -48,0 +50,0 @@ manualChunks: {}, |
{ | ||
"name": "vite-plugin-electron", | ||
"version": "0.14.0-beta.0", | ||
"version": "0.14.0", | ||
"description": "Electron 🔗 Vite", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -29,2 +29,4 @@ <p align="center"> | ||
In short, `vite-plugin-electron` makes developing Electron apps as easy as normal Vite projects. | ||
## Features | ||
@@ -98,2 +100,3 @@ | ||
```js | ||
// Just like v0.9.x | ||
import electron from 'vite-plugin-electron/simple' | ||
@@ -100,0 +103,0 @@ |
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
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
AI-detected potential security risk
Supply chain riskAI has determined that this package may contain potential security issues or vulnerabilities.
Found 1 instance in 1 package
37133
699
331
0
3