Vite is a powerful build tool for web development, especially useful in game jams like JS13k. This post covers how to optimize Vite with conditional configurations and resolve aliases, using LittleJS. Learn to streamline your workflow and reduce build size with these essential tips.
The Problem with Eating an Elephant One Bite at a Time
You've probably heard it before: when faced with a massive task, someone will inevitably try to motivate you with the famous phrase, "You eat an elephant one bite at a time." But here's the thing—I call b.s. on…
Balancing Form and Function: What Tiny Glade Teaches Us
Discover Tiny Glade, a whimsical sandbox game that prioritizes form and function. Build castles and cottages with intuitive, delightful interactions. Tiny Glade's user-friendly design challenges the software industry's focus on function over form, proving that great UX can drive commercial success.
Quick and easy local web server
Best thing I learned this week. Wanna quickly serve some static website? If you've go Python 3 installed on your machine just run the following command in the same folder as your index.html
Break out command object
Long functions are hard to work with. They are often contained in large classes that have many dependencies. The work that it takes to bring such functions and classes into a test harness is often significant. The Break Out Command Object refactoring technique can help with that.