agilebuilder-ui 1.1.65-tmp19 → 1.1.65-tmp20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.1.65-tmp19",
3
+ "version": "1.1.65-tmp20",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/index.cjs",
package/vite.config.js CHANGED
@@ -39,17 +39,7 @@ export default defineConfig(({ mode }) => ({
39
39
  }
40
40
  },
41
41
  input: ['./packages/index.js'],
42
- output:
43
- // {
44
- // // 提供全局变量
45
- // globals: {
46
- // vue: 'Vue'
47
- // },
48
- // // UMD格式确保全局变量可用
49
- // format: 'umd',
50
- // exports: 'named'
51
- // }
52
- [
42
+ output:[
53
43
  {
54
44
  format: 'umd',
55
45
  name: 'AgilebuilderUi',
@@ -80,25 +70,13 @@ export default defineConfig(({ mode }) => ({
80
70
  //配置打包根目录
81
71
  dir: 'lib',
82
72
  preserveModulesRoot: 'packages'
83
- },
84
- // {
85
- // format: 'cjs',
86
- // entryFileNames: '[name].js',
87
- // //让打包目录和源码目录对应
88
- // preserveModules: true,
89
- // //配置打包根目录
90
- // dir: 'dist/lib',
91
- // preserveModulesRoot: 'src'
92
- // }
73
+ }
93
74
  ]
94
75
  },
95
76
  outDir: 'lib',
96
77
  // 开启vite打包的库模式
97
78
  lib: {
98
- entry: './packages/index.js',
99
- // formats: ['umd', 'iife', 'es'],
100
- // name: 'AgilebuilderUi',
101
- // fileName: 'ab-workflow'
79
+ entry: './packages/index.js'
102
80
  }
103
81
  },
104
82
  plugins: [