How do I manage relative path aliasing in multiple grunt-browserify bundles?
Simple answer: The simplest is to use the paths option of browserify. I use it for some months with great success. I have even made a starter kit that uses this feature: https://github.com/stample/gulp-browserify-react-phonegap-starter var b = browserify(‘./app’, {paths: [‘./node_modules’,’./src/js’]}); paths – require.paths array to use if nothing is found on the normal node_modules recursive walk … Read more