mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-20 18:02:01 +03:00
e34f59ca37
Some checks are pending
CI / build (push) Waiting to run
CI / svelte-check (push) Blocked by required conditions
CI / formatting (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / uitest (push) Waiting to run
CI / uitest-pg (push) Waiting to run
CI / uitest-qms (push) Waiting to run
CI / docker-build (push) Blocked by required conditions
CI / dist-build (push) Blocked by required conditions
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
15 lines
367 B
JavaScript
15 lines
367 B
JavaScript
import esbuild from 'esbuild';
|
|
|
|
await esbuild.build({
|
|
entryPoints: ['src/index.ts', 'src/start.ts', 'src/config.ts', 'src/agent.ts', 'src/stt.ts', 'src/type.ts'],
|
|
platform: 'node',
|
|
bundle: false,
|
|
minify: false,
|
|
outdir: 'lib',
|
|
keepNames: true,
|
|
sourcemap: 'inline',
|
|
allowOverwrite: true,
|
|
loader: {
|
|
'.ts': 'ts',
|
|
},
|
|
}).catch(() => process.exit(1)) |