Remove verbose log, add yarn build
This commit is contained in:
		
							
								
								
									
										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"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user