All you have to do is steal the views and they will be included in production.js.
The JavaScript version of the EJS file will be included and preloaded so none of the code in your app needs to change in production. That means this:
- $('#foo').html('myEJS.ejs', {...})
will work even when using the production version of your code.