Comment made by: mfikes
The problem is that browser requires are asynchronous (at least in the REPL), so the bit of code that sets up the global export races with the require code loading.
CLJS-2854-0.patch explores a way to solve this (without yet including tests, etc), by conditionally queueing code (when in the browser REPL) and then executing it after the load queue drains.