Skip to content

Commit 0d372f6

Browse files
authored
Name casing: SASS → Sass (parcel-bundler#471)
https://sass-lang.com https://github.com/sass/dart-sass https://sass-lang.com/libsass https://en.wikipedia.org/wiki/Sass_(stylesheet_language) https://twitter.com/SassCSS Sass is neither an acronym/initialism nor is it stylized as SASS anywhere. SCSS syntax meets this criteria, but Sass does not.
1 parent bf49d69 commit 0d372f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/pages/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,6 @@ By default, Lightning CSS is strict, and will error when parsing an invalid rule
174174

175175
Lightning CSS supports generating source maps when compiling, minifying, and bundling your source code to make debugging easier. Use the `sourceMap` option to enable it when using the API, or the `--sourcemap` CLI flag.
176176

177-
If the input CSS came from another compiler such as SASS or Less, you can also pass an input source map to Lightning CSS using the `inputSourceMap` API option. This will map compiled locations back to their location in the original source code.
177+
If the input CSS came from another compiler such as Sass or Less, you can also pass an input source map to Lightning CSS using the `inputSourceMap` API option. This will map compiled locations back to their location in the original source code.
178178

179179
Finally, the `projectRoot` option can be used to make file paths in source maps relative to a root directory. This makes build stable between machines.

website/pages/transpilation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ Lightning CSS can also be configured to compile several draft specs that are not
425425

426426
### Nesting
427427

428-
The [CSS Nesting](https://drafts.csswg.org/css-nesting/) draft spec enables style rules to be nested, with the selectors of the child rules extending the parent selector in some way. This is very commonly supported by CSS pre-processors like SASS, but with this spec, it will eventually be supported natively in browsers. Lightning CSS compiles this syntax to un-nested style rules that are supported in all browsers today.
428+
The [CSS Nesting](https://drafts.csswg.org/css-nesting/) draft spec enables style rules to be nested, with the selectors of the child rules extending the parent selector in some way. This is very commonly supported by CSS pre-processors like Sass, but with this spec, it will eventually be supported natively in browsers. Lightning CSS compiles this syntax to un-nested style rules that are supported in all browsers today.
429429

430430
Because nesting is a draft, it is not enabled by default. To use it, enable the `nesting` option under `drafts` when calling the Lightning CSS API. When using the CLI, enable the `--nesting` flag.
431431

0 commit comments

Comments
 (0)