Skip to content

Commit 65530b3

Browse files
committed
feat(gen): add 'es6' to generator-ng-component filters
1 parent d6aeacf commit 65530b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/generator.js

+2
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ export default class Generator extends Base {
364364
if(this.filters.sass) extensions.push('scss');
365365
if(this.filters.less) extensions.push('less');
366366

367+
filters.push('es6'); // Generate ES6 syntax code
368+
367369
this.composeWith('ng-component', {
368370
options: {
369371
'routeDirectory': appPath,

0 commit comments

Comments
 (0)