vite-plugin-electron-renderer -> vite-plugin-electron/renderer

This commit is contained in:
草鞋没号 2022-04-06 08:35:54 +08:00
parent b1cc53e8e0
commit 302bea9718
3 changed files with 11 additions and 11 deletions

18
package-lock.json generated
View File

@ -17,7 +17,7 @@
"simple-git-hooks": "^2.7.0", "simple-git-hooks": "^2.7.0",
"typescript": "^4.6.3", "typescript": "^4.6.3",
"vite": "^2.8.6", "vite": "^2.8.6",
"vite-plugin-electron-renderer": "^0.3.2", "vite-plugin-electron": "^0.2.0",
"vite-plugin-resolve": "^2.0.1", "vite-plugin-resolve": "^2.0.1",
"vue": "^3.2.31", "vue": "^3.2.31",
"vue-tsc": "^0.31.1" "vue-tsc": "^0.31.1"
@ -6233,10 +6233,10 @@
} }
} }
}, },
"node_modules/vite-plugin-electron-renderer": { "node_modules/vite-plugin-electron": {
"version": "0.3.2", "version": "0.2.0",
"resolved": "https://registry.npmjs.org/vite-plugin-electron-renderer/-/vite-plugin-electron-renderer-0.3.2.tgz", "resolved": "https://registry.npmjs.org/vite-plugin-electron/-/vite-plugin-electron-0.2.0.tgz",
"integrity": "sha512-XJc9AZaRpQcmqo3JTspLFtXZEr4lXhRdQ4RuQunMW3/aW13e7d0wA138SaoIiQzEFLBYKVlLXvQN7kUTzfbLWQ==", "integrity": "sha512-0QGYrpM5ivLIc6ybgBDKiy/MZrlkU/JNVM7zn5M2nLUtt3a3k8Jktju/DN2RhoIEt0n9pKO+DFCVDy60Adul9w==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"vite-plugin-optimizer": "^1.3.2" "vite-plugin-optimizer": "^1.3.2"
@ -11347,10 +11347,10 @@
"rollup": "^2.59.0" "rollup": "^2.59.0"
} }
}, },
"vite-plugin-electron-renderer": { "vite-plugin-electron": {
"version": "0.3.2", "version": "0.2.0",
"resolved": "https://registry.npmjs.org/vite-plugin-electron-renderer/-/vite-plugin-electron-renderer-0.3.2.tgz", "resolved": "https://registry.npmjs.org/vite-plugin-electron/-/vite-plugin-electron-0.2.0.tgz",
"integrity": "sha512-XJc9AZaRpQcmqo3JTspLFtXZEr4lXhRdQ4RuQunMW3/aW13e7d0wA138SaoIiQzEFLBYKVlLXvQN7kUTzfbLWQ==", "integrity": "sha512-0QGYrpM5ivLIc6ybgBDKiy/MZrlkU/JNVM7zn5M2nLUtt3a3k8Jktju/DN2RhoIEt0n9pKO+DFCVDy60Adul9w==",
"dev": true, "dev": true,
"requires": { "requires": {
"vite-plugin-optimizer": "^1.3.2" "vite-plugin-optimizer": "^1.3.2"

View File

@ -24,7 +24,7 @@
"simple-git-hooks": "^2.7.0", "simple-git-hooks": "^2.7.0",
"typescript": "^4.6.3", "typescript": "^4.6.3",
"vite": "^2.8.6", "vite": "^2.8.6",
"vite-plugin-electron-renderer": "^0.3.2", "vite-plugin-electron": "^0.2.0",
"vite-plugin-resolve": "^2.0.1", "vite-plugin-resolve": "^2.0.1",
"vue": "^3.2.31", "vue": "^3.2.31",
"vue-tsc": "^0.31.1" "vue-tsc": "^0.31.1"

View File

@ -1,7 +1,7 @@
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue' import vue from '@vitejs/plugin-vue'
import resolve from 'vite-plugin-resolve' import resolve from 'vite-plugin-resolve'
import electron from 'vite-plugin-electron-renderer' import electron from 'vite-plugin-electron/renderer'
import pkg from '../../package.json' import pkg from '../../package.json'
// https://vitejs.dev/config/ // https://vitejs.dev/config/