Use colocated public directories for browser source (#11616)