UNPKG

@sarthak03dot/romantic-animations

Version:
16 lines (14 loc) 332 B
// vite.config.js import { defineConfig } from 'vite'; export default defineConfig({ build: { lib: { entry: 'src/index.js', name: 'RomanticAnimations', // this becomes window.RomanticAnimations fileName: 'romantic-animations', formats: ['umd'] }, outDir: 'dist', emptyOutDir: true } });