Skip to content

Commit

Permalink
feat: 🎸 expose esbuild loglevel option within compile
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayKnight committed Nov 7, 2024
1 parent ae2aca9 commit 272bd7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/integration/src/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export interface CompileOptions {
cwd?: string;
esbuildOptions?: Pick<
EsbuildOptions,
'plugins' | 'external' | 'define' | 'loader' | 'tsconfig' | 'conditions'
'plugins' | 'external' | 'define' | 'loader' | 'tsconfig' | 'conditions' | 'logLevel'
>;
}
export async function compile({
Expand All @@ -74,6 +74,7 @@ export async function compile({
define: esbuildOptions?.define,
tsconfig: esbuildOptions?.tsconfig,
conditions: esbuildOptions?.conditions,
logLevel: esbuildOptions?.logLevel,
});

const { outputFiles, metafile } = result;
Expand Down

0 comments on commit 272bd7f

Please sign in to comment.