$(document).on('click', ".paypick", function() {
$(".firstimg").show();
$(".secimg").hide();
$(".paypick").removeClass("active");
$(this).find(".firstimg").hide();
$(this).find(".secimg").show();
$(this).addClass("active");
// get params
var link = document.querySelector('#paybut');
link.href = link.href.split('?')[0] + '?active=' + this.id;
});
var getEntry = require('./getEntry');
var entries = getEntry('./app/src/views/**/*.js');
module.exports = {
entry: entries,
output: {
path: './build/',
filename: '[name].bundle.js'
}
};