Calendar/app/build.js
Janus C. H. Knudsen d7f3c55a2a Restructures project with feature-based organization
Refactors project structure to support modular, feature-driven development

Introduces comprehensive language localization support
Adds menu management with role-based access control
Implements dynamic sidebar and theme switching capabilities

Enhances project scalability and maintainability
2026-01-08 15:44:11 +01:00

24 lines
503 B
JavaScript

import * as esbuild from 'esbuild';
async function build() {
try {
await esbuild.build({
entryPoints: ['wwwroot/ts/app.ts'],
bundle: true,
outfile: 'wwwroot/js/app.js',
format: 'esm',
sourcemap: 'inline',
target: 'es2020',
minify: false,
keepNames: true,
platform: 'browser'
});
console.log('App bundle created: wwwroot/js/app.js');
} catch (error) {
console.error('Build failed:', error);
process.exit(1);
}
}
build();