mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2024-11-10 09:39:15 +08:00
14 lines
280 B
TypeScript
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']
|
|
}
|
|
}
|
|
})
|