deps: add vite-plugin-resolve

This commit is contained in:
草鞋没号 2022-04-18 09:47:22 +08:00
parent 1c7851a84c
commit 61e3bcdba3
2 changed files with 16 additions and 2 deletions

15
package-lock.json generated
View File

@ -24,7 +24,8 @@
"typescript": "^4.6.3", "typescript": "^4.6.3",
"vite": "^2.9.1", "vite": "^2.9.1",
"vite-plugin-esmodule": "^1.2.5", "vite-plugin-esmodule": "^1.2.5",
"vite-plugin-optimizer": "^1.3.3" "vite-plugin-optimizer": "^1.3.3",
"vite-plugin-resolve": "^2.0.4"
}, },
"engines": { "engines": {
"node": ">=14.17.0" "node": ">=14.17.0"
@ -5899,6 +5900,12 @@
"integrity": "sha512-CsVJBGULVhdK5lFgY2DBRWdYDQzpxHNAcqQb4GSSPih8YY/UmBOtLy4+rU8kForAhbkzqH5ahnomJbrbzC/MhQ==", "integrity": "sha512-CsVJBGULVhdK5lFgY2DBRWdYDQzpxHNAcqQb4GSSPih8YY/UmBOtLy4+rU8kForAhbkzqH5ahnomJbrbzC/MhQ==",
"dev": true "dev": true
}, },
"node_modules/vite-plugin-resolve": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/vite-plugin-resolve/-/vite-plugin-resolve-2.0.4.tgz",
"integrity": "sha512-RaJ+vH8YwDg/PsWfq5N2TIkMRe5LWQ7y/2D2UFl3Bzs+Jmp2y3VgFerriz7Y2W7DsrFIiLE56T16x7TVFH93WQ==",
"dev": true
},
"node_modules/watchpack": { "node_modules/watchpack": {
"version": "2.3.1", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz",
@ -10505,6 +10512,12 @@
"integrity": "sha512-CsVJBGULVhdK5lFgY2DBRWdYDQzpxHNAcqQb4GSSPih8YY/UmBOtLy4+rU8kForAhbkzqH5ahnomJbrbzC/MhQ==", "integrity": "sha512-CsVJBGULVhdK5lFgY2DBRWdYDQzpxHNAcqQb4GSSPih8YY/UmBOtLy4+rU8kForAhbkzqH5ahnomJbrbzC/MhQ==",
"dev": true "dev": true
}, },
"vite-plugin-resolve": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/vite-plugin-resolve/-/vite-plugin-resolve-2.0.4.tgz",
"integrity": "sha512-RaJ+vH8YwDg/PsWfq5N2TIkMRe5LWQ7y/2D2UFl3Bzs+Jmp2y3VgFerriz7Y2W7DsrFIiLE56T16x7TVFH93WQ==",
"dev": true
},
"watchpack": { "watchpack": {
"version": "2.3.1", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz",

View File

@ -30,7 +30,8 @@
"typescript": "^4.6.3", "typescript": "^4.6.3",
"vite": "^2.9.1", "vite": "^2.9.1",
"vite-plugin-esmodule": "^1.2.5", "vite-plugin-esmodule": "^1.2.5",
"vite-plugin-optimizer": "^1.3.3" "vite-plugin-optimizer": "^1.3.3",
"vite-plugin-resolve": "^2.0.4"
}, },
"env": { "env": {
"VITE_DEV_SERVER_HOST": "127.0.0.1", "VITE_DEV_SERVER_HOST": "127.0.0.1",