r/Clojurescript • u/haldeigosh • Nov 30 '19
Require macro
Greetings!
I've got a little problem, and hope, that someone here might help me.
I need to require express-ws, but this needs to be imported like so:
var express =
var app =
var express_ws =
I tried
but this doesn't work, because node doesn't find a call method in express-ws.
Does anyone have an idea?
Update
seems to do the trick
8
Upvotes
View all comments
1
u/slifin Dec 04 '19
Weird that your express object appeared to get imported but express-ws didn't without alias? Did you find out why that is?