@dlzn-ui/vite-config 2.0.6 → 2.0.8

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.
Files changed (2) hide show
  1. package/dist/index.mjs +30 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -83,7 +83,9 @@ const optimizeDepsInclude = [
83
83
  "dlzn-ui/plugins/initialize",
84
84
  "dlzn-ui/constants",
85
85
  "dlzn-ui/router",
86
- "dlzn-ui/store"
86
+ "dlzn-ui/store",
87
+ "dlzn-ui/views/system/user/index",
88
+ "dlzn-ui/plugins/echarts"
87
89
  ];
88
90
 
89
91
  const dirs = ["app", "button", "card", "checkbox", "checkbox-group", "cron", "custom-page-list", "custom-page-table", "date-picker", "form", "gradient-text", "icon", "image", "image-viewer", "input", "input-number", "link", "overview", "page-list", "page-query", "page-table", "pagination", "popconfirm", "popup", "provider", "radio-group", "range-input", "scrollbar", "select", "select-sys-user", "slider", "switch", "tab-panel", "table", "tag", "tag-input", "textarea", "tree", "tree-select", "upload"];
@@ -151,9 +153,36 @@ const virtualAppParams = () => {
151
153
  import layoutsEntryLazyImport from "@/layout/index.ts"
152
154
  import viewsEntryLazyImport from "@/views/index.ts"
153
155
 
156
+ const asideTopLogoUrl = Object.values(
157
+ import.meta.glob('img/aside_top_logo.*', {
158
+ eager: true,
159
+ import: 'default',
160
+ query: '?url',
161
+ }),
162
+ )[0]
163
+
164
+ const loginLeftBannerUrl = Object.values(
165
+ import.meta.glob('img/login_left_banner.*', {
166
+ eager: true,
167
+ import: 'default',
168
+ query: '?url',
169
+ }),
170
+ )[0]
171
+
172
+ const loginTopLeftLogoUrl = Object.values(
173
+ import.meta.glob('img/login_top_left_logo.*', {
174
+ eager: true,
175
+ import: 'default',
176
+ query: '?url',
177
+ }),
178
+ )[0]
179
+
154
180
  export default {
155
181
  layoutsEntryLazyImport,
156
182
  viewsEntryLazyImport,
183
+ asideTopLogoUrl,
184
+ loginLeftBannerUrl,
185
+ loginTopLeftLogoUrl,
157
186
  ...user,
158
187
  }
159
188
  `;
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.6",
4
+ "version": "2.0.8",
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.6"
40
+ "@dlzn-ui/node-utils": "2.0.8"
41
41
  },
42
42
  "devDependencies": {
43
43
  "rimraf": "^6.1.3",