vite-plugin-electron
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -21,7 +21,5 @@ "use strict"; | ||
configureServer(server) { | ||
const printUrls = server.printUrls; | ||
server.printUrls = function () { | ||
printUrls(); | ||
server.httpServer.on('listening', () => { | ||
(0, serve_1.bootstrap)(config, server); | ||
}; | ||
}); | ||
}, | ||
@@ -28,0 +26,0 @@ }, |
{ | ||
"name": "vite-plugin-electron", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Integrate Vite and Electron", | ||
@@ -8,3 +8,3 @@ "main": "dist/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/caoxiemeihao/vite-plugin-electron.git" | ||
"url": "git+https://github.com/electron-vite/vite-plugin-electron.git" | ||
}, | ||
@@ -11,0 +11,0 @@ "author": "草鞋没号 <308487730@qq.com>", |
@@ -43,2 +43,5 @@ # vite-plugin-electron | ||
**Example** 👉 [electron-vite-vue](https://github.com/electron-vite/electron-vite-vue) | ||
![GitHub stars](https://img.shields.io/github/stars/caoxiemeihao/electron-vite-vue?color=fa6470) | ||
**renderer/vite.config.ts** | ||
@@ -45,0 +48,0 @@ |
@@ -21,7 +21,5 @@ import type { Configuration } from './types' | ||
configureServer(server) { | ||
const printUrls = server.printUrls | ||
server.printUrls = function () { | ||
printUrls() | ||
server.httpServer.on('listening', () => { | ||
bootstrap(config, server) | ||
} | ||
}) | ||
}, | ||
@@ -28,0 +26,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
28806
57
658