Skip to content

Commit 7825200

Browse files
committed
Create app.component.styl for Stylus.
1 parent f2f02a6 commit 7825200

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)