Closure compiler basis fix (#1784)
Closure compiler basis fix (#1784)

* move enum definitions into worker

MicroWorldwide/PlayCanvas,sereepap2029/playcanvas,sereepap2029/playcanvas,playcanvas/engine,sereepap2029/playcanvas,MicroWorldwide/PlayCanvas,aidinabedi/playcanvas-engine,aidinabedi/playcanvas-engine,playcanvas/engine