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:
parent
805fc8698c
commit
e83667ad76
|
@ -96,10 +96,8 @@ export interface CommitObject {
|
||||||
*/
|
*/
|
||||||
export declare enum Style {
|
export declare enum Style {
|
||||||
Css = "css",
|
Css = "css",
|
||||||
Less = "less",
|
|
||||||
Sass = "sass",
|
Sass = "sass",
|
||||||
Scss = "scss",
|
Scss = "scss",
|
||||||
Styl = "styl"
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* The view encapsulation strategy to use in the initial project.
|
* The view encapsulation strategy to use in the initial project.
|
||||||
|
|
|
@ -117,9 +117,7 @@
|
||||||
"enum": [
|
"enum": [
|
||||||
"css",
|
"css",
|
||||||
"scss",
|
"scss",
|
||||||
"sass",
|
"sass"
|
||||||
"less",
|
|
||||||
"styl"
|
|
||||||
],
|
],
|
||||||
"x-prompt": {
|
"x-prompt": {
|
||||||
"message": "Which stylesheet format would you like to use?",
|
"message": "Which stylesheet format would you like to use?",
|
||||||
|
@ -127,9 +125,7 @@
|
||||||
"items": [
|
"items": [
|
||||||
{ "value": "css", "label": "CSS" },
|
{ "value": "css", "label": "CSS" },
|
||||||
{ "value": "scss", "label": "SCSS [ http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax ]" },
|
{ "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": "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 ] " }
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue