@zkwq/business 0.0.3 → 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 +1 -1
- package/dist/index.min.css +1 -0
- package/dist/index.min.js +41 -0
- package/dist/index.umd.cjs +2 -2
- package/dist/index.umd.min.cjs +42 -0
- package/package.json +9 -7
- package/src/components/normal/AggsItemH.vue +6 -0
- package/vite.config.js +8 -0
package/package.json
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zkwq/business",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "中科文情业务组件库",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
7
|
-
"module": "dist/index.js",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "vite build",
|
|
10
|
-
"pub":"pnpm build & npm publish --access public"
|
|
11
|
-
},
|
|
7
|
+
"module": "dist/index.min.js",
|
|
12
8
|
"author": "",
|
|
13
9
|
"license": "ISC",
|
|
14
10
|
"devDependencies": {
|
|
15
11
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
|
|
12
|
+
"@zkwq/unplugin-minify": "^1.0.0",
|
|
13
|
+
"@zkwq/unplugin-split-style": "^1.0.0",
|
|
16
14
|
"rollup-plugin-copy": "^3.4.0",
|
|
17
15
|
"sass": "^1.58.3",
|
|
18
16
|
"vite": "4.1.0",
|
|
@@ -23,5 +21,9 @@
|
|
|
23
21
|
"async-validator": "^4.2.5",
|
|
24
22
|
"resize-observer-polyfill": "^1.5.1",
|
|
25
23
|
"vue": "2.6.14"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "vite build",
|
|
27
|
+
"pub": "pnpm build & pnpm publish --access public"
|
|
26
28
|
}
|
|
27
|
-
}
|
|
29
|
+
}
|
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({
|
|
@@ -15,6 +17,12 @@ export default defineConfig({
|
|
|
15
17
|
{ src: 'src/components/base/ui/style/var.scss', dest: 'dist/'}
|
|
16
18
|
]
|
|
17
19
|
}),
|
|
20
|
+
SplitStylePluginVite({
|
|
21
|
+
pathMapping:{
|
|
22
|
+
'@/src/style/index.scss':'index'
|
|
23
|
+
}
|
|
24
|
+
}),
|
|
25
|
+
MinifyPluginVite()
|
|
18
26
|
],
|
|
19
27
|
//vite.conf.ts 文件中的解析配置
|
|
20
28
|
resolve: {
|