@zkwq/business 0.0.2 → 0.0.4
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/css/AggsItemH.css +125 -0
- package/dist/css/AggsItemH.min.css +1 -0
- package/dist/css/index.css +40281 -0
- package/dist/css/index.min.css +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +4450 -4445
- package/dist/index.min.css +1 -0
- package/dist/index.min.js +41 -0
- package/dist/index.umd.cjs +14 -14
- package/dist/index.umd.min.cjs +42 -0
- package/dist/var.scss +1011 -0
- package/package.json +9 -7
- package/src/components/base/ui/style/var.scss +4 -0
- package/src/components/base/ui/util/date.js +294 -309
- package/src/components/normal/AggsItemH.vue +6 -0
- package/vite.config.js +9 -0
package/vite.config.js
CHANGED
|
@@ -2,6 +2,8 @@ import { defineConfig } from 'vite'
|
|
|
2
2
|
import {createVuePlugin} from 'vite-plugin-vue2'
|
|
3
3
|
import { resolve } from 'path'
|
|
4
4
|
import copy from 'rollup-plugin-copy' //引入插件
|
|
5
|
+
import {SplitStylePluginVite} from '@zkwq/unplugin-split-style'
|
|
6
|
+
import {MinifyPluginVite} from '@zkwq/unplugin-minify'
|
|
5
7
|
|
|
6
8
|
// https://vitejs.dev/config/
|
|
7
9
|
export default defineConfig({
|
|
@@ -12,8 +14,15 @@ export default defineConfig({
|
|
|
12
14
|
hook:'closeBundle',
|
|
13
15
|
targets:[
|
|
14
16
|
{ src: 'src/static/', dest: 'dist/' },
|
|
17
|
+
{ src: 'src/components/base/ui/style/var.scss', dest: 'dist/'}
|
|
15
18
|
]
|
|
16
19
|
}),
|
|
20
|
+
SplitStylePluginVite({
|
|
21
|
+
pathMapping:{
|
|
22
|
+
'@/src/style/index.scss':'index'
|
|
23
|
+
}
|
|
24
|
+
}),
|
|
25
|
+
MinifyPluginVite()
|
|
17
26
|
],
|
|
18
27
|
//vite.conf.ts 文件中的解析配置
|
|
19
28
|
resolve: {
|