workflow-editor 0.0.81-up-tmp1 → 0.0.81-up-tmp2

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,7 +1,7 @@
1
1
  {
2
2
  "name": "workflow-editor",
3
3
  "private": false,
4
- "version": "0.0.81-up-tmp1",
4
+ "version": "0.0.81-up-tmp2",
5
5
  "type": "module",
6
6
  "main": "./lib/index.cjs",
7
7
  "module": "./es/index.mjs",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@vitejs/plugin-vue": "^4.2.3",
20
- "agilebuilder-ui": "1.1.65-tmp21",
20
+ "agilebuilder-ui": "1.1.65-tmp22",
21
21
  "axios": "^1.5.1",
22
22
  "element-plus": "^2.4.1",
23
23
  "font-awesome": "^4.7.0",
package/vite.config.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { defineConfig } from "vite";
2
2
  import vue from "@vitejs/plugin-vue";
3
3
  import path from "path";
4
+ import { fileURLToPath, URL } from 'node:url'
4
5
  //https://vitejs.dev/config/
5
6
  export default defineConfig({
6
7
  plugins: [vue()],
@@ -65,6 +66,9 @@ export default defineConfig({
65
66
  //...其他配置项
66
67
  resolve: {
67
68
  //忽略后缀名的配置选项,添加.vue选项时要记得原本默认忽略的选项也要手动写入
68
- extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue']
69
+ extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'],
70
+ alias: {
71
+ '@': fileURLToPath(new URL('./src', import.meta.url))
72
+ }
69
73
  }
70
74
  });