rearrange arguementorder for resource_index_from_package_exports