I am trying to use jQuery with a browser with the jquery-browsify module. I need a module in my client.js script as such:
var $ = require('jquery-browserify');
and when I start my node server, after I start the browser, I get the error "window is not defined". What am I doing wrong?
source
share