Categories
angularjs javascript

Using Pathmodify a Browserify plugin with Gulp

To better understand what we are going to solve in this post take a look at what Pathmodify does. gulpfile.js var paths = { node_modules: ‘/path/to/node/modules/node_modules/’, ng_services: ‘/path/to/angular/services/ng_services/’, }; gulp.task(‘browserify’, function() { return browserify(‘app.js’, {}) .plugin(pathmodify, {mods: [ pathmodify.mod.dir(‘node_modules’, paths.node_modules), pathmodify.mod.dir(‘ng_services’, paths.ng_services) ]}) .bundle() .pipe(stream(‘bundle.js’)) Getting up and moving increases blood flow to the sex […]