Closed nex3 closed 4 years ago
Currently, if a file imported through node_modules contains a relative import, that relative URL is used as-is in referencing files:
node_modules
<==> input/entrypoint.scss @import "~module/dependency"; a { color: $variable; } <==> input/node_modules/module/_dependency.scss @import "other"; <==> input/node_modules/module/_other.scss $variable: green;
This should produce @use "~module/other", but it currently produces @use "other" which is just broken.
@use "~module/other"
@use "other"
Currently, if a file imported through
node_modules
contains a relative import, that relative URL is used as-is in referencing files:This should produce
@use "~module/other"
, but it currently produces@use "other"
which is just broken.