I'm trying to achieve the same functionality as in require.js, where I can pass dynamic server variables. Can anyone guide me on how to accomplish this using browserify?
<script>require(['modules/headerNav'], function(headerNav){
headerNav({
/*server side variables here */
fruit:'banana',
size:'medium',
type:'organic'
});
});</script>