vite-plugin-electron-renderer
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -94,3 +94,6 @@ const path = require('path'); | ||
// | ||
[moduleId]: { find: new RegExp(`^(node:)?${moduleId}$`), code: nodeModuleCode }, | ||
[moduleId]: { | ||
alias: { find: new RegExp(`^(node:)?${moduleId}$`) }, | ||
code: nodeModuleCode, | ||
}, | ||
}; | ||
@@ -97,0 +100,0 @@ |
{ | ||
"name": "vite-plugin-electron-renderer", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Use Electron and NodeJs API in Renderer-process", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"vite-plugin-optimizer": "^1.2.1" | ||
"vite-plugin-optimizer": "^1.3.2" | ||
}, | ||
@@ -14,0 +14,0 @@ "devDependencies": { |
# vite-plugin-electron-renderer | ||
[![npm package](https://nodei.co/npm/vite-plugin-electron-renderer.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/vite-plugin-electron-renderer) | ||
<br/> | ||
[![NPM version](https://img.shields.io/npm/v/vite-plugin-electron-renderer.svg?style=flat)](https://npmjs.org/package/vite-plugin-electron-renderer) | ||
@@ -12,3 +10,4 @@ [![NPM Downloads](https://img.shields.io/npm/dm/vite-plugin-electron-renderer.svg?style=flat)](https://npmjs.org/package/vite-plugin-electron-renderer) | ||
## Example 👉 [electron-vite-boilerplate](https://github.com/caoxiemeihao/electron-vite-boilerplate) | ||
**Example 👉 [electron-vite-vue](https://github.com/caoxiemeihao/electron-vite-vue)** | ||
![GitHub stars](https://img.shields.io/github/stars/caoxiemeihao/electron-vite-vue?color=fa6470) | ||
@@ -15,0 +14,0 @@ ## Install |
# vite-plugin-electron-renderer | ||
[![npm package](https://nodei.co/npm/vite-plugin-electron-renderer.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/vite-plugin-electron-renderer) | ||
<br/> | ||
[![NPM version](https://img.shields.io/npm/v/vite-plugin-electron-renderer.svg?style=flat)](https://npmjs.org/package/vite-plugin-electron-renderer) | ||
@@ -12,3 +10,4 @@ [![NPM Downloads](https://img.shields.io/npm/dm/vite-plugin-electron-renderer.svg?style=flat)](https://npmjs.org/package/vite-plugin-electron-renderer) | ||
## 示例 👉 [electron-vite-boilerplate](https://github.com/caoxiemeihao/electron-vite-boilerplate) | ||
**示例 👉 [electron-vite-vue](https://github.com/caoxiemeihao/electron-vite-vue)** | ||
![GitHub stars](https://img.shields.io/github/stars/caoxiemeihao/electron-vite-vue?color=fa6470) | ||
@@ -15,0 +14,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
122
8926
77
Updatedvite-plugin-optimizer@^1.3.2