var $ = require('./jquery');
var jQueryVersion = require('./lib.js');

$(function() {
  console.log(jQueryVersion());
})();

var $ = require('jquery');
var jQueryVersion = require('./lib.js');

$(function() {
  console.log(jQueryVersion());
})();

Update require to use npm jquery not a local version
Update require to use npm jquery not a local version
