agilebuilder-ui 1.1.65-tmp3 → 1.1.65-tmp4

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-tmp3",
3
+ "version": "1.1.65-tmp4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/index.js",
@@ -16,6 +16,7 @@
16
16
  "@zxing/library": "^0.20.0",
17
17
  "async-validator": "^4.2.5",
18
18
  "clipboard": "^2.0.11",
19
+ "codemirror": "^6.0.1",
19
20
  "compressorjs": "1.2.1",
20
21
  "dayjs": "1.11.13",
21
22
  "echarts": "^5.5.0",
@@ -37,7 +38,6 @@
37
38
  "@element-plus/icons-vue": "^2.1.0",
38
39
  "@vitejs/plugin-vue": "^4.2.3",
39
40
  "axios": "^1.5.1",
40
- "codemirror": "^6.0.1",
41
41
  "element-plus": "^2.4.1",
42
42
  "nprogress": "^0.2.0",
43
43
  "pinia": "^2.1.7",
package/vite.config.js CHANGED
@@ -3,6 +3,7 @@ import vue from "@vitejs/plugin-vue";
3
3
  import path from "path";
4
4
  import { terser } from 'rollup-plugin-terser'
5
5
  import vueJsx from '@vitejs/plugin-vue-jsx';
6
+ import { fileURLToPath, URL } from 'node:url'
6
7
 
7
8
  import fs from 'fs'
8
9
  // 获取项目根目录下的package.json路径
@@ -89,10 +90,10 @@ export default defineConfig(({ mode }) => ({
89
90
  })
90
91
  ],
91
92
  resolve: {
92
- extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue']
93
- // alias: {
94
- // '@': fileURLToPath(new URL('./src', import.meta.url))
95
- // }
93
+ extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'],
94
+ alias: {
95
+ '@': fileURLToPath(new URL('./src', import.meta.url))
96
+ }
96
97
  }
97
98
 
98
99
  // plugins: [