From 65530b320dba51ef8de64cabbc92b9d24db531dd Mon Sep 17 00:00:00 2001 From: Andrew Koroluk Date: Tue, 9 Feb 2016 17:37:40 -0500 Subject: [PATCH] feat(gen): add 'es6' to generator-ng-component filters --- app/generator.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/generator.js b/app/generator.js index 5bb5bc92d..6107b15ce 100644 --- a/app/generator.js +++ b/app/generator.js @@ -364,6 +364,8 @@ export default class Generator extends Base { if(this.filters.sass) extensions.push('scss'); if(this.filters.less) extensions.push('less'); + filters.push('es6'); // Generate ES6 syntax code + this.composeWith('ng-component', { options: { 'routeDirectory': appPath,