mirror of
https://github.com/renovatebot/github-action.git
synced 2026-02-04 19:08:08 +00:00
* chore(deps): update dependency @tsconfig/strictest to v2.0.8 | datasource | package | from | to | | ---------- | ------------------- | ----- | ----- | | npm | @tsconfig/strictest | 2.0.6 | 2.0.8 | * chore: lint fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
15 lines
395 B
JavaScript
15 lines
395 B
JavaScript
import { build } from 'esbuild';
|
|
import { env } from 'node:process';
|
|
|
|
await build({
|
|
entryPoints: ['./src/index.ts'],
|
|
bundle: true,
|
|
platform: 'node',
|
|
target: 'node24',
|
|
minify: !!env.CI,
|
|
tsconfig: 'tsconfig.dist.json',
|
|
sourcemap: true,
|
|
format: 'esm',
|
|
outdir: './dist/',
|
|
inject: ['tools/cjs-shim.ts'], // https://github.com/evanw/esbuild/issues/1921#issuecomment-1898197331
|
|
});
|