vite-plugin-electron-renderer
Advanced tools
Comparing version 0.5.6 to 0.5.7
{ | ||
"name": "vite-plugin-electron-renderer", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "Support use Node.js API in Electron-Renderer", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -63,3 +63,3 @@ const fs = require('fs'); | ||
// https://github.com/vitejs/vite/blob/53799e1cced7957f9877a5b5c9b6351b48e216a7/packages/vite/src/node/config.ts#L439-L442 | ||
const root = normalizePath(config.root ? path.resolve(config.root) : cwd); | ||
const root = normalizePath(config.root ? path.resolve(config.root) : process.cwd()); | ||
const resolved = resolveModules(root, options); | ||
@@ -66,0 +66,0 @@ |
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
22924