mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-02-02 19:08:40 +08:00
chore: update vite-plugin-html
This commit is contained in:
parent
d1f59b493d
commit
6e85795737
@ -22,7 +22,7 @@ export function configHtmlPlugin(env: ViteEnv, isBuild: boolean) {
|
|||||||
minify: isBuild,
|
minify: isBuild,
|
||||||
inject: {
|
inject: {
|
||||||
// Inject data into ejs template
|
// Inject data into ejs template
|
||||||
injectData: {
|
data: {
|
||||||
title: VITE_GLOB_APP_TITLE,
|
title: VITE_GLOB_APP_TITLE,
|
||||||
},
|
},
|
||||||
// Embed the generated app.config.js file
|
// Embed the generated app.config.js file
|
||||||
|
@ -124,7 +124,7 @@
|
|||||||
"typescript": "4.3.5",
|
"typescript": "4.3.5",
|
||||||
"vite": "2.5.0",
|
"vite": "2.5.0",
|
||||||
"vite-plugin-compression": "^0.3.3",
|
"vite-plugin-compression": "^0.3.3",
|
||||||
"vite-plugin-html": "^2.0.7",
|
"vite-plugin-html": "^2.1.0",
|
||||||
"vite-plugin-imagemin": "^0.4.3",
|
"vite-plugin-imagemin": "^0.4.3",
|
||||||
"vite-plugin-mock": "^2.9.4",
|
"vite-plugin-mock": "^2.9.4",
|
||||||
"vite-plugin-purge-icons": "^0.7.0",
|
"vite-plugin-purge-icons": "^0.7.0",
|
||||||
|
18
yarn.lock
18
yarn.lock
@ -4468,6 +4468,11 @@ dot-prop@^5.1.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
is-obj "^2.0.0"
|
is-obj "^2.0.0"
|
||||||
|
|
||||||
|
dotenv-expand@^5.1.0:
|
||||||
|
version "5.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0"
|
||||||
|
integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==
|
||||||
|
|
||||||
dotenv@^10.0.0:
|
dotenv@^10.0.0:
|
||||||
version "10.0.0"
|
version "10.0.0"
|
||||||
resolved "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81"
|
resolved "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81"
|
||||||
@ -11173,13 +11178,16 @@ vite-plugin-compression@^0.3.3:
|
|||||||
debug "^4.3.2"
|
debug "^4.3.2"
|
||||||
fs-extra "^10.0.0"
|
fs-extra "^10.0.0"
|
||||||
|
|
||||||
vite-plugin-html@^2.0.7:
|
vite-plugin-html@^2.1.0:
|
||||||
version "2.0.7"
|
version "2.1.0"
|
||||||
resolved "https://registry.npmjs.org/vite-plugin-html/-/vite-plugin-html-2.0.7.tgz#55139ff8a843ba3b3d5cd48610ca6f6afdf7c23d"
|
resolved "https://registry.yarnpkg.com/vite-plugin-html/-/vite-plugin-html-2.1.0.tgz#77b6ee11d9cdbdf766b5731fd416bacf26744fce"
|
||||||
integrity sha512-c2fFBxRqP+jbJX/uMZ6pTXcOWZHEtjcki+u609+KIOIjhR+nDY6zBbRvCy29n9Sc0X+CBhFcj2pPLLAtS5ERJQ==
|
integrity sha512-xdyHA/LdtmQtVTpPVqmrJaO/iuwx0k/r2M0BFnfYBloLCvp9FeCW/fR3yucQePRzE19bU72QldBE6EB1toZACw==
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@rollup/pluginutils" "^4.1.1"
|
||||||
|
dotenv "^10.0.0"
|
||||||
|
dotenv-expand "^5.1.0"
|
||||||
ejs "^3.1.6"
|
ejs "^3.1.6"
|
||||||
fs-extra "^9.1.0"
|
fs-extra "^10.0.0"
|
||||||
html-minifier-terser "^5.1.1"
|
html-minifier-terser "^5.1.1"
|
||||||
|
|
||||||
vite-plugin-imagemin@^0.4.3:
|
vite-plugin-imagemin@^0.4.3:
|
||||||
|
Loading…
Reference in New Issue
Block a user