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>
57 lines
1.0 KiB
JavaScript
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
|
|
}
|
|
}
|
|
] |