Fix error rendering template with no selector, no longer removes root tag.
Update typescript typings.
Update build files.