Skip to content

Commit

Permalink
feat(gen): add 'es6' to generator-ng-component filters
Browse files Browse the repository at this point in the history
  • Loading branch information
Awk34 committed Feb 19, 2016
1 parent d6aeacf commit 65530b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 65530b3

Please sign in to comment.