Add options to build dir of hx and ts files in one time.