Skip to content

Commit

Permalink
Log build mode (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-wiemer authored Sep 23, 2024
1 parent 69cafc2 commit 391a106
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ahk2
Submodule ahk2 updated from fddd2e to 651e79
3 changes: 3 additions & 0 deletions src/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { build } from 'esbuild';
/* eslint-disable-next-line no-undef */
const isProd = process.argv.indexOf('--mode=production') >= 0;

/* eslint-disable-next-line no-undef */
console.log('Building AHK++ in', isProd ? 'production' : 'development', 'mode');

// https://esbuild.github.io/api
build({
entryPoints: ['./src/extension.ts'],
Expand Down

0 comments on commit 391a106

Please sign in to comment.