I am new to the whole browserify thing. I have been trying to use browserify + reactify + gulp to transform, minify and combine a React application. As long as I have a sing
You can simply export multiple components as an array:
module.exports = [Component1, Component2]
Then to use the components:
var MyComponents = require('your/path/to/components'); var Component1 = MyComponents[0]; var Component2 = MyComponents[1];