ura-components/vite.config.ts

16 lines
265 B
TypeScript

import {defineConfig} from 'vite'
// https://vitejs.dev/config/
export default defineConfig({
build: {
lib: {
entry: 'src/index.ts',
formats: ['es'],
},
outDir: 'dist/'
// rollupOptions: {
// external: /^lit/,
// },
},
})