From 9813a63a8f41f2924bb464b504af3ae1560f5d84 Mon Sep 17 00:00:00 2001 From: Ray Knight Date: Thu, 7 Nov 2024 12:24:23 -0800 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20expose=20esbuild=20l?= =?UTF-8?q?og=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/integration/src/compile.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/integration/src/compile.ts b/packages/integration/src/compile.ts index 1b9a3644e..6013a4214 100644 --- a/packages/integration/src/compile.ts +++ b/packages/integration/src/compile.ts @@ -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' | 'logLimit' | 'logOverride' >; } export async function compile({ @@ -74,6 +74,9 @@ export async function compile({ define: esbuildOptions?.define, tsconfig: esbuildOptions?.tsconfig, conditions: esbuildOptions?.conditions, + logLevel: esbuildOptions?.logLevel, + logLimit: esbuildOptions?.logLimit, + logOverride: esbuildOptions?.logOverride, }); const { outputFiles, metafile } = result; From a5a169cf9be48aa148159e3250cd8cd05a6a3552 Mon Sep 17 00:00:00 2001 From: Ray Knight Date: Thu, 7 Nov 2024 12:25:26 -0800 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20=F0=9F=A4=96=20add=20changeset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/soft-wombats-shop.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/soft-wombats-shop.md diff --git a/.changeset/soft-wombats-shop.md b/.changeset/soft-wombats-shop.md new file mode 100644 index 000000000..a9e3a520e --- /dev/null +++ b/.changeset/soft-wombats-shop.md @@ -0,0 +1,5 @@ +--- +'@vanilla-extract/integration': minor +--- + +Exposed esbuild log options for better control of build reporting From 0218c9cf251da67e78cf120e568b450d530ee207 Mon Sep 17 00:00:00 2001 From: Ray Knight Date: Thu, 7 Nov 2024 12:29:51 -0800 Subject: [PATCH 3/3] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20prettier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/integration/src/compile.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/integration/src/compile.ts b/packages/integration/src/compile.ts index 6013a4214..79fcb1edc 100644 --- a/packages/integration/src/compile.ts +++ b/packages/integration/src/compile.ts @@ -49,7 +49,15 @@ export interface CompileOptions { cwd?: string; esbuildOptions?: Pick< EsbuildOptions, - 'plugins' | 'external' | 'define' | 'loader' | 'tsconfig' | 'conditions' | 'logLevel' | 'logLimit' | 'logOverride' + | 'plugins' + | 'external' + | 'define' + | 'loader' + | 'tsconfig' + | 'conditions' + | 'logLevel' + | 'logLimit' + | 'logOverride' >; } export async function compile({