Serverless express with handlebars

Hi @futuregerald! Great idea, I wasn’t doing it. Now I’m copying the views directory with copy-webpack-plugin. I’ve also set the express views directory where I figured the views would be copied.

app.set('views', path.join(__dirname, '/.netlify/functions/views'))

After I run netlify-lambda build express -c ./webpack.config.js, the functions directory where the app should be deployed has the following structure:

– views
---- foo.hbs
– server.js

I thought it would be enough, but I’m still not able to access the views.
Am I on the right track or did you mean something else by zipping the views? I’ve extensively searched for a similar example, but I could not find one.