Luis Matute

Gulp Browserify ESLint

Gulp Multi-Bundles of Browserify

Browserify brings the beauty of CommonJS to the browser. It bundles up all your dependencies into one file. This works well with small projects or with Single Page Applications(SPA), where having just one JS file works well. But what happens if you're building a website with lots of views? If you're using browserify, you'll end up with a huge bundle file. What if we could split the bundle in a main bundle with all the global scripts and libs, and then have a bundle for different views? After a while of research, I could finally come up with a…

Read More