WIP
This commit is contained in:
parent
54b057886c
commit
7fc1ae0650
204 changed files with 4345 additions and 134 deletions
24
PlanTempus.Application/build.js
Normal file
24
PlanTempus.Application/build.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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();
|
||||
Loading…
Add table
Add a link
Reference in a new issue