@dlzn-ui/vite-config 2.0.32 → 2.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +3 -0
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -414,6 +414,7 @@ const index = (_env, options) => {
|
|
|
414
414
|
VITE_BASE_URL = "/",
|
|
415
415
|
VITE_FORCE_PWD_CHANGE = true,
|
|
416
416
|
VITE_PROXY_TARGET: viteProxyTarget,
|
|
417
|
+
VITE_SHOW_LOGIN_LOGO = true,
|
|
417
418
|
VITE_USE_LOGIN_CAPTCHA = true
|
|
418
419
|
} = env;
|
|
419
420
|
const VITE_PROXY_TARGET = Array.isArray(viteProxyTarget) ? viteProxyTarget : [viteProxyTarget];
|
|
@@ -426,6 +427,7 @@ const index = (_env, options) => {
|
|
|
426
427
|
VITE_BASE_URL,
|
|
427
428
|
VITE_FORCE_PWD_CHANGE,
|
|
428
429
|
VITE_PROXY_TARGET,
|
|
430
|
+
VITE_SHOW_LOGIN_LOGO,
|
|
429
431
|
VITE_USE_LOGIN_CAPTCHA
|
|
430
432
|
});
|
|
431
433
|
const isProduction = mode === "production";
|
|
@@ -461,6 +463,7 @@ const index = (_env, options) => {
|
|
|
461
463
|
VITE_APP_NAME: JSON.stringify(VITE_APP_NAME),
|
|
462
464
|
VITE_BASE_URL: JSON.stringify(VITE_BASE_URL),
|
|
463
465
|
VITE_FORCE_PWD_CHANGE: JSON.stringify(VITE_FORCE_PWD_CHANGE),
|
|
466
|
+
VITE_SHOW_LOGIN_LOGO: JSON.stringify(VITE_SHOW_LOGIN_LOGO),
|
|
464
467
|
VITE_USE_LOGIN_CAPTCHA: JSON.stringify(VITE_USE_LOGIN_CAPTCHA)
|
|
465
468
|
},
|
|
466
469
|
// envDir, // 将 env 文件里面的变量注入到 import.meta.env 里面
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dlzn-ui/vite-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.33",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"vite-plugin-imagemin": "^0.6.1",
|
|
38
38
|
"vite-plugin-vue-tailwind-auto-reference": "^2.0.2",
|
|
39
39
|
"vue-router": "^5.2.0",
|
|
40
|
-
"@dlzn-ui/node-utils": "2.0.
|
|
40
|
+
"@dlzn-ui/node-utils": "2.0.33"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"rimraf": "^6.1.3",
|