replaceify browserify transform to replace paths with strings install npm install replaceify usage bundle.transform({ './config.json': env.config }, replaceify) licence MIT. © matt brennan