@gct-paas/build 0.1.18 → 0.1.20
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/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.20] - 2026-06-23
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- unocss 配置调整 处理@gct-paas包中unocss 生产环境不生效问题
|
|
15
|
+
|
|
16
|
+
## [0.1.19] - 2026-06-18
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- 新增 google-libphonenumber、jspdf、html2canvas、exceljs 外部依赖
|
|
21
|
+
|
|
10
22
|
## [0.1.18] - 2026-06-17
|
|
11
23
|
|
|
12
24
|
### Changed
|
package/dist/constants/index.cjs
CHANGED
|
@@ -12,7 +12,7 @@ const DEFAULT_EXTERNAL = exports.DEFAULT_EXTERNAL = ["@babel/standalone", "espri
|
|
|
12
12
|
// 第三方依赖
|
|
13
13
|
"axios", "dayjs", "lodash-es", "qs", "bignumber.js", "wujie", "@module-federation/runtime", "sql-formatter", "mqtt", "@fingerprintjs/fingerprintjs", "overlayscrollbars", "@jsplumb/browser-ui", "sortablejs", "interactjs", "bwip-js",
|
|
14
14
|
// 组件库相关依赖
|
|
15
|
-
"vuedraggable", "vue-grid-layout", "vant", "ant-design-vue", "vxe-table", "@wangeditor/editor", "pinyin-pro",
|
|
15
|
+
"vuedraggable", "vue-grid-layout", "vant", "ant-design-vue", "vxe-table", "@wangeditor/editor", "pinyin-pro", "google-libphonenumber", "html2canvas", "jspdf", "exceljs",
|
|
16
16
|
// 图标库相关依赖
|
|
17
17
|
"@ant-design/icons-vue", "@icon-park/vue-next/es/all", "@icon-park/vue-next/icons.json",
|
|
18
18
|
// @gct-paas 底包相关依赖
|
|
@@ -29,8 +29,11 @@ function defineUnoConfig(config) {
|
|
|
29
29
|
},
|
|
30
30
|
presets: [(0, _unocss.presetWind3)(), (0, _unocss.presetTypography)(), (0, _unocss.presetWebFonts)({})],
|
|
31
31
|
content: {
|
|
32
|
+
// 生产构建时 @gct-paas/* 为 external,不会进入 Vite pipeline,
|
|
33
|
+
// 需通过 filesystem 从 es 产物中提取 UnoCSS 工具类
|
|
34
|
+
filesystem: ["node_modules/@gct-paas/**/es/**/*.mjs"],
|
|
32
35
|
pipeline: {
|
|
33
|
-
include: [/\.(vue|[jt]sx?|mjs)($|\?)
|
|
36
|
+
include: [/\.(vue|[jt]sx?|mjs)($|\?)/]
|
|
34
37
|
}
|
|
35
38
|
}
|
|
36
39
|
}, config));
|
package/es/constants/index.mjs
CHANGED
|
@@ -30,11 +30,11 @@ export function defineUnoConfig(config) {
|
|
|
30
30
|
},
|
|
31
31
|
presets: [presetWind3(), presetTypography(), presetWebFonts({})],
|
|
32
32
|
content: {
|
|
33
|
+
// 生产构建时 @gct-paas/* 为 external,不会进入 Vite pipeline,
|
|
34
|
+
// 需通过 filesystem 从 es 产物中提取 UnoCSS 工具类
|
|
35
|
+
filesystem: ["node_modules/@gct-paas/**/es/**/*.mjs"],
|
|
33
36
|
pipeline: {
|
|
34
|
-
include: [
|
|
35
|
-
/\.(vue|[jt]sx?|mjs)($|\?)/,
|
|
36
|
-
"node_modules/@gct-paas/**/es/**/*.{mjs,js,ts,tsx,vue}"
|
|
37
|
-
]
|
|
37
|
+
include: [/\.(vue|[jt]sx?|mjs)($|\?)/]
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
},
|