@dlzn-ui/vite-config 1.73.0 → 1.75.0
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 +5 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -76,7 +76,7 @@ const baseConfigFn = (options) => {
|
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
const optimizeDepsInclude = ["dlzn-ui/components/button", "dlzn-ui/components/card", "dlzn-ui/components/checkbox", "dlzn-ui/components/checkbox-group", "dlzn-ui/components/form", "dlzn-ui/components/icon", "dlzn-ui/components/image", "dlzn-ui/components/image-viewer", "dlzn-ui/components/input", "dlzn-ui/components/input-number", "dlzn-ui/components/link", "dlzn-ui/components/pagination", "dlzn-ui/components/popconfirm", "dlzn-ui/components/popup", "dlzn-ui/components/radio-group", "dlzn-ui/components/range-input", "dlzn-ui/components/select", "dlzn-ui/components/slider", "dlzn-ui/components/switch", "dlzn-ui/components/tab-panel", "dlzn-ui/components/tag", "dlzn-ui/components/tag-input", "dlzn-ui/components/textarea", "dlzn-ui/components/tree", "dlzn-ui/components/tree-select", "dlzn-ui/components/upload", "tdesign-vue-next/dist/tdesign.min.js", "path-browserify", "lodash-es", "pinia-plugin-persistedstate", "alova", "alova/fetch", "alova/vue", "@formkit/auto-animate", "@formkit/auto-animate/vue", "dayjs", "dayjs/plugin/customParseFormat.js", "dayjs/plugin/isSameOrBefore.js", "wordcloud", "echarts/charts", "echarts/components", "echarts/core", "echarts/renderers", "@tdesign-vue-next/chat", "vue-echarts", "dompurify", "cron-parser", "cronstrue", "cronstrue/locales/zh_CN", "quartzcron", "@bprogress/core", "element-plus", "element-plus/es/components/config-provider/style/css", "element-plus/es/locale/lang/zh-cn", "element-plus/es/components/date-picker/style/css", "element-plus/es/components/scrollbar/style/css", "color"];
|
|
79
|
+
const optimizeDepsInclude = ["dlzn-ui/components/button", "dlzn-ui/components/card", "dlzn-ui/components/checkbox", "dlzn-ui/components/checkbox-group", "dlzn-ui/components/form", "dlzn-ui/components/icon", "dlzn-ui/components/image", "dlzn-ui/components/image-viewer", "dlzn-ui/components/input", "dlzn-ui/components/input-number", "dlzn-ui/components/link", "dlzn-ui/components/pagination", "dlzn-ui/components/popconfirm", "dlzn-ui/components/popup", "dlzn-ui/components/radio-group", "dlzn-ui/components/range-input", "dlzn-ui/components/select", "dlzn-ui/components/slider", "dlzn-ui/components/switch", "dlzn-ui/components/tab-panel", "dlzn-ui/components/tag", "dlzn-ui/components/tag-input", "dlzn-ui/components/textarea", "dlzn-ui/components/tree", "dlzn-ui/components/tree-select", "dlzn-ui/components/upload", "dlzn-ui/entry/Provider.vue", "tdesign-vue-next/dist/tdesign.min.js", "path-browserify", "lodash-es", "pinia-plugin-persistedstate", "alova", "alova/fetch", "alova/vue", "@formkit/auto-animate", "@formkit/auto-animate/vue", "dayjs", "dayjs/plugin/customParseFormat.js", "dayjs/plugin/isSameOrBefore.js", "wordcloud", "echarts/charts", "echarts/components", "echarts/core", "echarts/renderers", "@tdesign-vue-next/chat", "vue-echarts", "dompurify", "cron-parser", "cronstrue", "cronstrue/locales/zh_CN", "quartzcron", "@bprogress/core", "element-plus", "element-plus/es/components/config-provider/style/css", "element-plus/es/locale/lang/zh-cn", "element-plus/es/components/date-picker/style/css", "element-plus/es/components/scrollbar/style/css", "color"];
|
|
80
80
|
|
|
81
81
|
const tDesignAutoImportResolve = (options) => {
|
|
82
82
|
const { isProduction, root } = options;
|
|
@@ -116,7 +116,7 @@ const tDesignAutoImportResolve = (options) => {
|
|
|
116
116
|
].includes(name)) {
|
|
117
117
|
return {
|
|
118
118
|
from: `dlzn-ui/components/${kebabCase(name.slice(1))}`,
|
|
119
|
-
name
|
|
119
|
+
name: "default"
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
122
|
if (["Icon", "TBaseTable", "TDateRangePicker", "TEnhancedTable", "TPrimaryTable"].includes(
|
|
@@ -532,6 +532,9 @@ const index = (_env, options) => {
|
|
|
532
532
|
from: "dlzn-ui/utils",
|
|
533
533
|
imports: ["formatNumber", "isFalsy", "stringDisplay"]
|
|
534
534
|
},
|
|
535
|
+
{
|
|
536
|
+
"dlzn-ui/plugins/autoImport/dayjs": [["default", "dayjs"]]
|
|
537
|
+
},
|
|
535
538
|
{
|
|
536
539
|
"@/plugins/alova/index.ts": [["default", "alovaInst"]]
|
|
537
540
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dlzn-ui/vite-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.75.0",
|
|
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": "1.
|
|
40
|
+
"@dlzn-ui/node-utils": "1.75.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"rimraf": "^6.1.3",
|