workflow底层UI库整合至项目,优化构建逻辑
This commit is contained in:
@@ -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