We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a1e9c3 commit 37d6c46Copy full SHA for 37d6c46
app/generator.js
@@ -144,7 +144,9 @@ export default class Generator extends Base {
144
145
this.scriptExt = answers.transpiler === 'ts' ? 'ts' : 'js';
146
this.templateExt = answers.markup;
147
- this.styleExt = answers.stylesheet === 'sass' ? 'scss' : answers.stylesheet;
+
148
+ var styleExt = {sass: 'scss', stylus: 'styl'}[answers.stylesheet];
149
+ this.styleExt = styleExt ? styleExt : answers.stylesheet;
150
151
cb();
152
}.bind(this));
0 commit comments