STACKS
As of +30 days +90 days +1 year
small-2d-browser-game c21
checked on 30 Nov 2026
valid until 29 Jan 2027

A small 2D game on LittleJS built by Vite weighs about 29 KB after gzip.

In the source's words

A bundler like Vite leaves out the plugins a game does not use, so a small 2D game comes to about 29 KB gzipped, and a lit 3D scene to about 72 KB.

Address

stacks.jakubdudek.com/small-2d-browser-game/c21
In a document: [[small-2d-browser-game#c21]]
JSON