mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-04-23 00:38:34 +08:00
23 lines
403 B
TypeScript
23 lines
403 B
TypeScript
import Vue from 'unplugin-vue/rolldown';
|
|
|
|
import { defineConfig } from 'tsdown';
|
|
|
|
export default defineConfig({
|
|
clean: true,
|
|
deps: {
|
|
skipNodeModulesBundle: true,
|
|
},
|
|
dts: {
|
|
vue: true,
|
|
},
|
|
entry: ['src/index.ts'],
|
|
format: ['esm'],
|
|
outExtensions: () => ({
|
|
dts: '.d.ts',
|
|
js: '.mjs',
|
|
}),
|
|
platform: 'neutral',
|
|
plugins: [Vue({ isProduction: true })],
|
|
unbundle: true,
|
|
});
|