added config for tmp folder, added requirejs build