mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-12 00:33:14 +08:00
使用vite(rolldown)替代unbuild
This commit is contained in:
14
packages/@core/ui-kit/menu-ui/vite.config.ts
Normal file
14
packages/@core/ui-kit/menu-ui/vite.config.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
build: {
|
||||
lib: {
|
||||
entry: './src/index.ts',
|
||||
name: 'MenuUI',
|
||||
fileName: () => 'index.mjs',
|
||||
formats: ['es'],
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user