Originally from @1ec5
As tail work, consider making this plugin also affect layers whose text-field property is set to a function. In the Mapbox Streets style, for example, U.S. state labels are a function with stops for either {name_en} or {abbr} based on the zoom level.
Without accounting for functions, there will be some inconsistency in state and country labels at low zoom levels. However, expressions will be available in the next release, so it might not be worth spending much effort accommodating functions in the meantime.