workflow底层UI库整合至项目,优化构建逻辑
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
"@easyflow/types": "workspace:*",
|
||||
"@easyflow/utils": "workspace:*",
|
||||
"@element-plus/icons-vue": "^2.3.2",
|
||||
"@tinyflow-ai/vue": "^1.2.2",
|
||||
"@tinyflow-ai/vue": "workspace:*",
|
||||
"@vueuse/core": "catalog:",
|
||||
"dayjs": "catalog:",
|
||||
"dompurify": "^3.3.1",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { defineConfig } from '@easyflow/vite-config';
|
||||
import {defineConfig} from '@easyflow/vite-config';
|
||||
|
||||
import ElementPlus from 'unplugin-element-plus/vite';
|
||||
|
||||
@@ -6,6 +6,13 @@ export default defineConfig(async () => {
|
||||
return {
|
||||
application: {},
|
||||
vite: {
|
||||
resolve: {
|
||||
alias: {
|
||||
// @vueuse/motion expects tslib default export during dev pre-bundling
|
||||
// and breaks when Vite resolves to ESM-only modules/index.js.
|
||||
tslib: 'tslib/tslib.js',
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
ElementPlus({
|
||||
format: 'esm',
|
||||
|
||||
Reference in New Issue
Block a user