I figured it out. 

    /data merge block (coords) {RequiredPlayerRange:0s}

But `/setblock ~ ~ ~ spawner{RequiredPlayerRange:0s}`
does not work, does anyone know if you can setblock it?