agilebuilder-ui 1.1.65-tmp21 → 1.1.65-tmp22
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/index.full.min.js +5 -5
- package/es/index.mjs +1 -1
- package/es/style.css +736 -736
- package/lib/index.cjs +5 -5
- package/lib/style.css +736 -736
- package/package.json +1 -1
- package/vite.config.js +1 -28
package/package.json
CHANGED
package/vite.config.js
CHANGED
|
@@ -82,11 +82,6 @@ export default defineConfig(({ mode }) => ({
|
|
|
82
82
|
plugins: [
|
|
83
83
|
vue(),
|
|
84
84
|
vueJsx(),
|
|
85
|
-
// dts({
|
|
86
|
-
// //指定使用的tsconfig.json在整个项目根目录下,如果不配置,也可以在components下新建tsconfig.json
|
|
87
|
-
// outDir: ['lib'],
|
|
88
|
-
// tsconfigPath: './tsconfig.json'
|
|
89
|
-
// }),
|
|
90
85
|
terser({
|
|
91
86
|
compress: {
|
|
92
87
|
drop_debugger: ['production'].includes(mode),
|
|
@@ -96,29 +91,7 @@ export default defineConfig(({ mode }) => ({
|
|
|
96
91
|
// 对于console.error,不做任何处理
|
|
97
92
|
comments: (node, comment) => comment.type === 'error'
|
|
98
93
|
}
|
|
99
|
-
})
|
|
100
|
-
// {
|
|
101
|
-
// name: 'copy-css-files',
|
|
102
|
-
// generateBundle(options, bundle) {
|
|
103
|
-
// // 处理CSS文件
|
|
104
|
-
// for (const fileName in bundle) {
|
|
105
|
-
// console.log('css--fileName--',fileName)
|
|
106
|
-
// const chunk = bundle[fileName]
|
|
107
|
-
// if (fileName.endsWith('.css') || fileName.endsWith('.scss')) {
|
|
108
|
-
// // 确保目录存在
|
|
109
|
-
// const cssDir = path.join('lib', 'css')
|
|
110
|
-
// console.log('css--cssDir--',cssDir)
|
|
111
|
-
// if (!fs.existsSync(cssDir)) {
|
|
112
|
-
// fs.mkdirSync(cssDir, { recursive: true })
|
|
113
|
-
// }
|
|
114
|
-
|
|
115
|
-
// // 写入CSS文件
|
|
116
|
-
// const cssPath = path.join(cssDir, fileName)
|
|
117
|
-
// fs.writeFileSync(cssPath, chunk.source)
|
|
118
|
-
// }
|
|
119
|
-
// }
|
|
120
|
-
// }
|
|
121
|
-
// }
|
|
94
|
+
})
|
|
122
95
|
],
|
|
123
96
|
resolve: {
|
|
124
97
|
extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'],
|