summaryrefslogtreecommitdiff
path: root/.ci/bundle.js
blob: aabc4bdd916eac0fccd5fbba0cdf91be2ae546f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import * as esbuild from 'esbuild';
await esbuild
    .build({
        entryPoints: ['dist/ci.js'],
        bundle: true,
        minify: true,
        platform: 'node',
        outfile: 'ci.cjs',
        logLevel: 'info',
        sourcemap: false,
    })
    .catch(() => process.exit(1));