Skip to content

Commit

Permalink
Update build.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Jan 20, 2024
1 parent c5e5afb commit 24b594f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const args = parseArgs<{

console.log('Build process started.');

const timestamp = Date.now()
const timestampNow = Date.now()

Promise.all([
esbuild.context({
Expand Down Expand Up @@ -44,7 +44,7 @@ Promise.all([
],
}).then((context) => {return args.watch ? context.watch() : context.dispose()}),
]).then(() => {
console.log(green(`Build process finished in ${(Date.now() - timestamp).toString()}ms.`));
console.log(green(`Build process finished in ${(Date.now() - timestampNow).toString()}ms.`));

if (!args.watch) {
esbuild.stop();
Expand Down

0 comments on commit 24b594f

Please sign in to comment.