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
This commit is contained in:
Alan Agius 2019-06-24 17:06:09 +02:00 committed by Kara Erickson
parent 805fc8698c
commit e83667ad76
2 changed files with 2 additions and 8 deletions

View File

@ -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.

View File

@ -117,9 +117,7 @@
"enum": [
"css",
"scss",
"sass",
"less",
"styl"
"sass"
],
"x-prompt": {
"message": "Which stylesheet format would you like to use?",
@ -127,9 +125,7 @@
"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 ]" }
]
}
},