vue-box-overflow
Version:
Headless UI for automatically collapsing boxes when overflow in Vue.
19 lines (17 loc) • 443 B
text/typescript
/**
* @author shunzi <tobyzsj@gmail.com>
* @date 2024-03-24 18:44:05
*/
import { resolve } from 'node:path'
import { defineConfig, mergeConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import commonConfig from '../../vite.config'
export default mergeConfig(commonConfig, defineConfig({
plugins: [vue()],
build: {
lib: {
entry: resolve(__dirname, 'src/index.ts'),
name: 'index',
},
},
}))