Skip to content

Commit 4f358f4

Browse files
committed
fix(@schematics/angular): stop offering SASS option for ng new
The old Sass language referred to as "SASS" here is no longer relevant. This was denoted with the file extension ".sass" Any new projects should use the modern Sass language which is expressed in ".scss" files. This change does not remove any support for projects which were already created with ".sass" files, we simply stop offering this option when creating new projects. Also correct the capitalization of Less based on how they spell it on their website.
1 parent aee5a40 commit 4f358f4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/ngtools/webpack/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The loader works with webpack plugin to compile your TypeScript. It's important
4848
## Features
4949
The benefits and ability of using [`@ngtools/webpack`](https://www.npmjs.com/~ngtools) standalone from the Angular CLI as presented in [Stephen Fluin's Angular CLI talk](https://youtu.be/uBRK6cTr4Vk?t=6m45s) at Angular Connect 2016:
5050

51-
* Compiles SCSS/LESS
51+
* Compiles Sass/Less into CSS
5252
* TypeScript transpilation
5353
* Bundles JavaScript, CSS
5454
* Asset optimization

packages/schematics/angular/ng-new/schema.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,8 @@
119119
"type": "list",
120120
"items": [
121121
{ "value": "css", "label": "CSS" },
122-
{ "value": "scss", "label": "SCSS [ http://sass-lang.com ]" },
123-
{ "value": "sass", "label": "SASS [ http://sass-lang.com ]" },
124-
{ "value": "less", "label": "LESS [ http://lesscss.org ]" },
122+
{ "value": "scss", "label": "Sass [ http://sass-lang.com ]" },
123+
{ "value": "less", "label": "Less [ http://lesscss.org ]" },
125124
{ "value": "styl", "label": "Stylus [ http://stylus-lang.com ]" }
126125
]
127126
}

0 commit comments

Comments
 (0)