pass transform and pageOptions agrs to react-app