Try to keep .tmp dir for production building