fix: multiple bugs (#119)

This commit is contained in:
Jacob Nguyen
2023-10-05 01:48:08 -05:00
committed by GitHub
parent 5a68916479
commit d9ca5ff3ff
7 changed files with 156 additions and 122 deletions

View File

@@ -1,11 +1,11 @@
import type esbuild from 'esbuild';
import { resolve } from 'path';
export default (format: 'cjs' | 'esm', tsconfigRaw: unknown) =>
export default (format: 'cjs' | 'esm', tsconfig: string|undefined) =>
({
platform: 'node',
format,
tsconfigRaw: tsconfigRaw as esbuild.TsconfigRaw,
tsconfig: tsconfig,
logLevel: 'info',
minify: false,
outdir: resolve('dist'),