@zkwq/business 0.0.6 → 0.0.7

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkwq/business",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "中科文情业务组件库",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.min.cjs",
@@ -19,8 +19,12 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "async-validator": "^4.2.5",
22
+ "axios": "^1.3.4",
23
+ "crypto-js": "^4.1.1",
24
+ "qs": "^6.11.1",
22
25
  "resize-observer-polyfill": "^1.5.1",
23
- "vue": "2.6.14"
26
+ "vue": "2.6.14",
27
+ "wangeditor": "^4.7.15"
24
28
  },
25
29
  "scripts": {
26
30
  "build": "vite build",
package/vite.config.js CHANGED
@@ -33,14 +33,6 @@ export default defineConfig({
33
33
  //导入时想要省略的扩展名列表
34
34
  extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json','.vue']
35
35
  },
36
- rollupOptions: {
37
- external: ['vue'],
38
- output: {
39
- globals: {
40
- vue: 'Vue'
41
- }
42
- }
43
- },
44
36
  build: {
45
37
  target:'ES2015',
46
38
  cssCodeSplit: true,
@@ -50,6 +42,18 @@ export default defineConfig({
50
42
  // the proper extensions will be added
51
43
  fileName: 'index',
52
44
  },
53
- assetsDir: "dist/static"
45
+ assetsDir: "dist/static",
46
+ rollupOptions: {
47
+ external: ['vue','axios','crypto-js','wangeditor','qs'],
48
+ output: {
49
+ globals: {
50
+ vue: 'Vue',
51
+ axios:'Axios',
52
+ 'crypto-js':'CryptoJS',
53
+ wangeditor:'WangEditor',
54
+ qs:'QS'
55
+ }
56
+ }
57
+ }
54
58
  }
55
59
  })