0a5ab058a6
- Angular 12 application with PrimeNG components - 5 existing Cypress e2e test suites - SCSS styling with BEM naming convention - i18n support (10 languages) - Leaflet map integration - Complete component hierarchy and routing structure This baseline will be used for Angular → React migration.
21 lines
431 B
JavaScript
21 lines
431 B
JavaScript
import { resolve } from 'node:path';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
target: 'es2015',
|
|
lib: {
|
|
entry: resolve(__dirname, 'index.js'),
|
|
name: 'psl',
|
|
formats: ['es', 'cjs', 'umd'],
|
|
fileName: format => (
|
|
format === 'umd'
|
|
? 'psl.umd.cjs'
|
|
: format === 'cjs'
|
|
? 'psl.cjs'
|
|
: 'psl.mjs'
|
|
),
|
|
},
|
|
},
|
|
});
|