UNPKG

facturapi

Version:

Librería oficial de Facturapi. Crea CFDIs timbrados y enviados al SAT, XML y PDF

18 lines (16 loc) 374 B
import { defineConfig } from 'vite'; export default defineConfig({ build: { lib: { entry: 'src/index.ts', formats: ['es', 'cjs'], fileName: (format) => `index.${format}.js`, }, rollupOptions: { external: ['stream', 'crypto'], output: { exports: 'named', // Use named exports to avoid the warning }, }, }, });