UNPKG

dragon-lightbox

Version:

A lightweight, responsive and accessible lightbox library made in typescript

27 lines (26 loc) 575 B
import { defineConfig } from "vite"; export default defineConfig({ server: { port: 3030, open: true }, build: { assetsDir: '', minify: 'terser', lib: { entry: './index.ts', name: 'dragonLightbox' }, terserOptions: { compress: { passes: 3 } }, rollupOptions: { input: './index.ts', output: { entryFileNames: 'dragon-lightbox.js' } } } })