The latest update to Tetris Attack ClojureScript was getting advanced compilation to work. lein-cljsbuild allows you to specify settings for compiling your ClojureScript code to JavaScript. This article by Luke Vanderhart has a lot of detail about the various options you can specify.
- Talk about the process of enabling advanced optimization
- Work with v1.0.4 code and address problems step by step
- Problems
- Browser repl bug
- Problem with cljsbuild auto not rebuilding updated config settings for game.prod.js
- Problem with $, jquery
- ^:export
- Talk about results of using advanced opt
- New code size ~ 300K from 11K
- Compare simple optimization to advanced