fix path-dependent browserify transforms