From f1d26bda2e83a885426bd942b17f2b877a010ab3 Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Sun, 12 Dec 2021 15:52:32 -0800 Subject: [PATCH] Remove verbose log, add yarn build --- index.js | 1 - package.json | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index a68707b..9159e91 100644 --- a/index.js +++ b/index.js @@ -558,7 +558,6 @@ function checkCollision(curPos, newPos, world) { if (block.type !== BlockType.AIR) { if (i === 1 && dp[i] < 0) { isOnGround = true; - console.log(`on ground`); } dp[i] = 0; } diff --git a/package.json b/package.json index 694e5d6..20261d9 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "esbuild": "^0.14.2" }, "scripts": { - "serve": "esbuild --outfile=app.js index.js --bundle --servedir=." + "serve": "esbuild --outfile=app.js index.js --bundle --sourcemap=inline --servedir=.", + "build": "esbuild --outfile=app.js index.js --bundle --minify" } }