transform to packerjs