Skip to content

Commit 0f7a35f

Browse files
catullhansl
authored andcommitted
fix(@angular/cli): create app.component.styl for Stylus. (angular#4540)
1 parent 15b6d9c commit 0f7a35f

File tree

1 file changed

+1
-1
lines changed
  • packages/@angular/cli/blueprints/ng2

1 file changed

+1
-1
lines changed

packages/@angular/cli/blueprints/ng2/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default Blueprint.extend({
2424
},
2525

2626
locals: function(options: any) {
27-
this.styleExt = options.style;
27+
this.styleExt = options.style === 'stylus' ? 'styl' : options.style;
2828
this.version = require(path.resolve(__dirname, '../../package.json')).version;
2929
// set this.tests to opposite of skipTest options,
3030
// meaning if tests are being skipped then the default.spec.BLUEPRINT will be false

0 commit comments

Comments
 (0)