@dlzn-ui/vite-config 2.0.7 → 2.0.10
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 +4 -7
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -64,13 +64,10 @@ const baseConfigFn = (options) => {
|
|
|
64
64
|
const dirs$1 = ["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"];
|
|
65
65
|
const optimizeDepsInclude = [
|
|
66
66
|
...dirs$1.map((str) => `dlzn-ui/components/${str}`),
|
|
67
|
-
"tdesign-vue-next/dist/tdesign.min.js",
|
|
68
67
|
"lodash-es",
|
|
69
68
|
"alova",
|
|
70
69
|
"alova/fetch",
|
|
71
70
|
"alova/vue",
|
|
72
|
-
"@formkit/auto-animate",
|
|
73
|
-
"@formkit/auto-animate/vue",
|
|
74
71
|
"dayjs",
|
|
75
72
|
"dayjs/plugin/customParseFormat.js",
|
|
76
73
|
"dayjs/plugin/isSameOrBefore.js",
|
|
@@ -159,7 +156,7 @@ const virtualAppParams = () => {
|
|
|
159
156
|
import: 'default',
|
|
160
157
|
query: '?url',
|
|
161
158
|
}),
|
|
162
|
-
)[0]
|
|
159
|
+
)[0]
|
|
163
160
|
|
|
164
161
|
const loginLeftBannerUrl = Object.values(
|
|
165
162
|
import.meta.glob('img/login_left_banner.*', {
|
|
@@ -167,7 +164,7 @@ const virtualAppParams = () => {
|
|
|
167
164
|
import: 'default',
|
|
168
165
|
query: '?url',
|
|
169
166
|
}),
|
|
170
|
-
)[0]
|
|
167
|
+
)[0]
|
|
171
168
|
|
|
172
169
|
const loginTopLeftLogoUrl = Object.values(
|
|
173
170
|
import.meta.glob('img/login_top_left_logo.*', {
|
|
@@ -175,7 +172,7 @@ const virtualAppParams = () => {
|
|
|
175
172
|
import: 'default',
|
|
176
173
|
query: '?url',
|
|
177
174
|
}),
|
|
178
|
-
)[0]
|
|
175
|
+
)[0]
|
|
179
176
|
|
|
180
177
|
export default {
|
|
181
178
|
layoutsEntryLazyImport,
|
|
@@ -470,7 +467,7 @@ const index = (_env, options) => {
|
|
|
470
467
|
title: VITE_APP_NAME
|
|
471
468
|
},
|
|
472
469
|
ejsOptions: {
|
|
473
|
-
views: ["node_modules/dlzn-ui/ejs"]
|
|
470
|
+
views: ["node_modules/dlzn-ui/assets/ejs"]
|
|
474
471
|
}
|
|
475
472
|
},
|
|
476
473
|
minify: true
|
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.10",
|
|
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.10"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"rimraf": "^6.1.3",
|