Skip to content

Commit

Permalink
Create app.component.styl for Stylus.
Browse files Browse the repository at this point in the history
  • Loading branch information
catull committed Feb 8, 2017
1 parent f2f02a6 commit 7825200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@angular/cli/blueprints/ng2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default Blueprint.extend({
},

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

0 comments on commit 7825200

Please sign in to comment.