define('jquery', [], function(){
return window.$;
});
module.exports = [
{
...
plugins: [
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery'
})
]
},
{
...
plugins: [
new webpack.ProvidePlugin({
$: __dirname + '/web/js/jqueryStub',
jQuery: __dirname + '/web/js/jqueryStub'
})
]
}
];