date Tue Sep 12 2017 09:00:04 GMT+1000 (AEST) electron Q. under what conditions does require work in a frontend js module? seems to work when I load the page over file:/// but not http://localhost (dynamic page)