Given an ES6 file, demo.es6
that contains template strings:
let x = 'x';
console.log(`x is ${ x }`);
The following code within a generator method throws a reference error (x is not defined):
this.template('demo.es6', 'result.es6');
The reference error can be resolved by configuring Lodash within the generator.