antd-tiny-vue/vite.bundle.config.ts
2023-05-03 20:09:26 +08:00

14 lines
280 B
TypeScript

import { defineConfig } from 'vite'
import vueJsx from '@vitejs/plugin-vue-jsx'
export default defineConfig({
plugins: [vueJsx()],
build: {
lib: {
entry: 'components/index.ts',
name: 'Antd',
fileName: () => `antd.js`,
formats: ['umd']
}
}
})