Files
wukuang/packages/lowcode-create/tsdown.config.ts
T

32 lines
558 B
TypeScript
Raw Normal View History

2026-05-23 14:05:22 +08:00
import vueJsx from '@vitejs/plugin-vue-jsx';
import { defineConfig } from 'tsdown';
import vue from 'unplugin-vue/rolldown';
export default defineConfig({
entry: 'src/index.ts',
outDir: 'dist',
format: ['esm'],
minify: true,
clean: false,
external: [
'vue',
'element-plus-cisdi',
'@lingshu/types',
'lodash-es',
'uuid',
],
unbundle: true,
plugins: [
vue({ isProduction: true }),
vueJsx(),
],
dts: {
vue: true,
sourcemap: true,
},
exports: {
all: true,
devExports: 'development',
},
});