mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-20 09:42:26 +03:00
f9dff9573d
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
15 lines
288 B
JavaScript
15 lines
288 B
JavaScript
import esbuild from 'esbuild';
|
|
|
|
await esbuild.build({
|
|
entryPoints: ['src/**/*.ts'],
|
|
platform: 'node',
|
|
bundle: false,
|
|
minify: false,
|
|
outdir: 'lib',
|
|
keepNames: true,
|
|
sourcemap: 'inline',
|
|
allowOverwrite: true,
|
|
loader: {
|
|
'.ts': 'ts',
|
|
},
|
|
}).catch(() => process.exit(1)) |