vite-plugin-electron-renderer
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -55,2 +55,8 @@ const path = require('path'); | ||
} | ||
// ---------------------------------------- | ||
if (!config.optimizeDeps) config.optimizeDeps = {}; | ||
if (!config.optimizeDeps.exclude) config.optimizeDeps.exclude = []; | ||
config.optimizeDeps.exclude.push('electron'); | ||
}, | ||
@@ -57,0 +63,0 @@ }, |
{ | ||
"name": "vite-plugin-electron-renderer", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Use Electron and NodeJs API in Renderer-process", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
8646
105