Update the extraConfig function to access settings through opts parameter instead of direct import. Also remove the unused options import for cleaner code.