I want to link to /node_modules/jade/runtime.min.js client-side -- how do I make it publicly accessible?
Do I create a app.get for it somehow?
app.get('/js/jade-runtime.js',<what goes here?>)
Or can I modify the static thing to allow it to be served?
app.use(express.static(path.join(__dirname, 'public'))); // modify this to add more paths somehow
Full solution (thanks Brad):
app.get('/js/jade-runtime.js',function(req,res) {
res.sendfile(path.join(__dirname,'node_modules','jade','runtime.min.js'));
});