mirror of
https://github.com/sass/sass.git
synced 2024-09-21 10:37:22 +00:00
[Module System] Clarify that @forward
includes the module's CSS
This commit is contained in:
parent
e28dfd800c
commit
7c04b5e250
@ -1,3 +1,7 @@
|
||||
## Draft 3
|
||||
|
||||
* Clarify that `@forward` includes the forwarded module's CSS tree.
|
||||
|
||||
## Draft 2.1
|
||||
|
||||
* Make sure nested `@import`s preserve the parent selector/at-rule context of
|
||||
|
@ -1,4 +1,4 @@
|
||||
# The Next-Generation Sass Module System: Draft 2.1
|
||||
# The Next-Generation Sass Module System: Draft 3
|
||||
|
||||
*([Issues](https://github.com/sass/sass/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3A%22%40use%22), [Changelog](module-system.changes.md))*
|
||||
|
||||
@ -901,7 +901,8 @@ The [`@forward`](#forward) rule forwards another [module](#module)'s public API
|
||||
as though it were part of the current module's.
|
||||
|
||||
> Note that `@forward` *does not* make any APIs available to the current module;
|
||||
> that is purely the domain of `@use`.
|
||||
> that is purely the domain of `@use`. However, it *does* include the forwarded
|
||||
> module's CSS tree.
|
||||
|
||||
First, we define a general procedure for forwarding a module `module` with a
|
||||
`@forward` rule `rule`:
|
||||
|
Loading…
Reference in New Issue
Block a user