Skip to content

Commit

Permalink
Set logLevel to “info” when building (#21)
Browse files Browse the repository at this point in the history
This provides useful output and gives the user feedback that compilation has completed successfully.
  • Loading branch information
timriley committed Feb 3, 2024
1 parent ffd89ef commit 1afc529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const buildOptions = (root, args) => {
absWorkingDir: root,
loader: loader,
external: externalDirectories(),
logLevel: "silent",
logLevel: "info",
minify: true,
sourcemap: true,
entryNames: "[dir]/[name]-[hash]",
Expand Down
2 changes: 1 addition & 1 deletion src/esbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const buildOptions = (root: string, args: Args): EsbuildOptions => {
absWorkingDir: root,
loader: loader,
external: externalDirectories(),
logLevel: "silent",
logLevel: "info",
minify: true,
sourcemap: true,
entryNames: "[dir]/[name]-[hash]",
Expand Down

0 comments on commit 1afc529

Please sign in to comment.