Skip to content

thibautRe/js13k-webpack-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js13k Webpack Starter

This webpack starter is based on @sz-piotr's webpack starter. It provides a webpack-based foundation for optimized game development for the Game Jam js13k.

The base size of the empty application is 594 bytes (4% of the allowed size).

List of features

  1. HTML, JS & CSS minification
  2. Tree shaking and module concatenation
  3. Code inlining (the entire application is a single index.html file)
  4. Development server with source maps
  5. Generation of submission files (including the .zip file)
  6. User-friendly size reports
  7. ESLint + Prettier

How can I get started?

yarn && yarn start

The server will be listening on port 8080

How can i generate files for submission?

yarn build

The script will fail if the generated ZIP file is above 13kb.