template-saas/apps/backend/node_modules/libphonenumber-js/rollup.config.mjs
rckrdmrd 26f0e52ca7 feat: Initial commit - template-saas
Template base para proyectos SaaS multi-tenant.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React/Vite)
- apps/database (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:24 -06:00

57 lines
1.0 KiB
JavaScript

import json from '@rollup/plugin-json'
import terser from '@rollup/plugin-terser'
export default [
{
input: 'min/index.js',
plugins: [
json(),
terser()
],
output: {
format: 'umd',
name: 'libphonenumber',
file: 'bundle/libphonenumber-min.js',
sourcemap: true
}
},
{
input: 'mobile/index.js',
plugins: [
json(),
terser()
],
output: {
format: 'umd',
name: 'libphonenumber',
file: 'bundle/libphonenumber-mobile.js',
sourcemap: true
}
},
{
input: 'max/index.js',
plugins: [
json(),
terser()
],
output: {
format: 'umd',
name: 'libphonenumber',
file: 'bundle/libphonenumber-max.js',
sourcemap: true
}
},
{
input: 'index.es6',
plugins: [
json(),
terser()
],
output: {
format: 'umd',
name: 'libphonenumber',
file: 'bundle/libphonenumber-js.min.js',
sourcemap: true
}
}
]