platform/dev/doc-import-tool/esbuild.js
Denis Bykhov b1c50bb8c2
Windows build (#7158)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2024-11-12 11:58:20 +05:00

12 lines
241 B
JavaScript

const esbuild = require('esbuild')
const fs = require('fs');
fs.mkdirSync('bundle', { recursive: true });
esbuild.build({
entryPoints: ['src/index.ts'],
bundle: true,
minify: true,
platform: 'node',
outfile: 'bundle/bundle.js'
})