clean and finalize code
precompile assets locally