codymikol / game-kiln

A game engine for the web centered around simplicity and extendability.
2 stars 2 forks source link

Find a way for webpack to prune code on prod build. #128

Open codymikol opened 4 years ago

codymikol commented 4 years ago

There is a bunch of code that is super helpful when developing a game-kiln gmae, but doesn't need to exist in a production build. This includes all error handling / logging. We should find a way to prevent this from getting bundled in the production build to save those precious KBs :)