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 […]
Category: javascript
Javascript related posts.
The Synopsis One of my clients who is in the lead generation business often asksĀ to clone forms to test different variations. The variations can vary from style updates to functionality updates. I tend to just make all forms self contained within their directory and this would include all the assets like images, css and javascript. […]