module.exports = function(){ $ = require('jquery'); $('.tag').click(function() { return console.log('clicked'); }); }