Skip to content

Variables from an imported, forwarded module are not passed through as configuration to another imported, forwarded module #2641

@jathak

Description

@jathak

Given code like:

<==> entrypoint.scss
@import 'def_wrapper';
@import 'ref_wrapper';

<==> _def_wrapper.scss
@forward 'def';

<==> _def.scss
$variable: blue;

<==> _ref_wrapper.scss
@forward 'ref';

<==> _ref.scss
$variable: red !default;

a {
  b: $variable;
}

You would expect the $variable: blue definition to be passed through the _ref.scss as implicit configuration, but that doesn't currently seem to be the case (the above code emits a { b: red; }).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions