mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-20 09:42:26 +03:00
ddecae80dd
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
12 lines
287 B
JavaScript
12 lines
287 B
JavaScript
const esbuild = require('esbuild')
|
|
|
|
void esbuild.build({
|
|
entryPoints: ['src/index.ts'],
|
|
bundle: true,
|
|
minify: true,
|
|
keepNames: true,
|
|
loader: { ".node": "file" },
|
|
platform: 'node',
|
|
outfile: 'bundle/bundle.js',
|
|
external: ['canvas', 'sharp', 'pdfjs-dist']
|
|
}) |