Remove verbose log, add yarn build

This commit is contained in:
Paul Mathieu 2021-12-12 15:52:32 -08:00
parent 76b46a92ed
commit f1d26bda2e
2 changed files with 2 additions and 2 deletions

View File

@ -558,7 +558,6 @@ function checkCollision(curPos, newPos, world) {
if (block.type !== BlockType.AIR) { if (block.type !== BlockType.AIR) {
if (i === 1 && dp[i] < 0) { if (i === 1 && dp[i] < 0) {
isOnGround = true; isOnGround = true;
console.log(`on ground`);
} }
dp[i] = 0; dp[i] = 0;
} }

View File

@ -7,6 +7,7 @@
"esbuild": "^0.14.2" "esbuild": "^0.14.2"
}, },
"scripts": { "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"
} }
} }