src/language-handlebars/parser-glimmer.js/removeWhiteSpace
function removeWhiteSpace() {
  return {
    visitor: {
      Program(node) {
        node.body = node.body.filter(removeEmptyNodes);
      },
      ElementNode(node) {
        node.children = node.children.filter(removeEmptyNodes);
      }
    }
  };
}