mirror of
https://github.com/sern-handler/cli
synced 2026-06-28 02:32:20 +00:00
fix: multiple bugs (#119)
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user