Skip to content
Permalink
Browse files

fix(bazel): remove unsupported Css pre-processors from ng new (#31234)

Under Bazel, we don't yet support Stylus and Less, and thus we should not offer the users to generate applications which are known not to work.

Closes #31209

PR Close #31234
  • Loading branch information...
alan-agius4 authored and kara committed Jun 24, 2019
1 parent 805fc86 commit e83667ad769387e8ef34c8a686a6b5d972b141ff
@@ -96,10 +96,8 @@ export interface CommitObject {
*/
export declare enum Style {
Css = "css",
Less = "less",
Sass = "sass",
Scss = "scss",
Styl = "styl"
}
/**
* The view encapsulation strategy to use in the initial project.
@@ -117,19 +117,15 @@
"enum": [
"css",
"scss",
"sass",
"less",
"styl"
"sass"
],
"x-prompt": {
"message": "Which stylesheet format would you like to use?",
"type": "list",
"items": [
{ "value": "css", "label": "CSS" },
{ "value": "scss", "label": "SCSS [ http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax ]" },
{ "value": "sass", "label": "Sass [ http://sass-lang.com/documentation/file.INDENTED_SYNTAX.html ]" },
{ "value": "less", "label": "Less [ http://lesscss.org ]" },
{ "value": "styl", "label": "Stylus [ http://stylus-lang.com ] " }
{ "value": "sass", "label": "Sass [ http://sass-lang.com/documentation/file.INDENTED_SYNTAX.html ]" }
]
}
},

0 comments on commit e83667a

Please sign in to comment.
You can’t perform that action at this time.