Generate an AMD module.
Use relative paths. Use the twig.js registry. Allow inline includes.