to the file to transform
transformTemplate takes an ember-template-recast plugin
import { ember } from 'ember-apply';
await ember.transformTemplate('path/to/template.hbs', (env) => {
  return {
    Hash(node) {
     // do something with hash nodes
    }
  }
});
Generated using TypeDoc
Transforms an ember-template file using ember-template-recast. The script at the
filePathis read, transformed via the providedplugin, and then written back to the same file.This can be used to help migrate components, remove deprecated features, etc