Skip to content

Instantly share code, notes, and snippets.

@amitayd
amitayd / beep.js
Created May 15, 2013 00:32
Demonstrating a transitive dependency issue with browserify. It's an augmentation of the multi-bundle example given in browserify docs, with the addition of robot.js requires circuit.js, so the dependency relation is: beep.js -> robot.js -> circuit.js and boop.js -> robot.js -> circuit.js
var robot = require('./robot');
console.log(robot('beep'));