Remove verbose log, add yarn build
This commit is contained in:
parent
76b46a92ed
commit
f1d26bda2e
1
index.js
1
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;
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user