Closed myakura closed 2 years ago
I run the migrator to convert my classic scss files to use the new module system. It worked fine except converting the keywords() function.
keywords()
The current version (v1.5.3) converts keywords() to map.keywords():
map.keywords()
- $args: keywords($args); + $args: map.keywords($args);
However, keywords() is defined in the meta module. https://sass-lang.com/documentation/modules/meta#keywords
I looked at the source code and found "keywords": "map", https://github.com/sass/migrator/blob/3d6b449372254e967f4f3f878b5e82a43088c463/lib/src/migrators/module/built_in_functions.dart#L39
"keywords": "map",
Should this be "keywords": "meta", ?
"keywords": "meta",
I run the migrator to convert my classic scss files to use the new module system. It worked fine except converting the
keywords()
function.The current version (v1.5.3) converts
keywords()
tomap.keywords()
:However,
keywords()
is defined in the meta module. https://sass-lang.com/documentation/modules/meta#keywordsI looked at the source code and found
"keywords": "map",
https://github.com/sass/migrator/blob/3d6b449372254e967f4f3f878b5e82a43088c463/lib/src/migrators/module/built_in_functions.dart#L39Should this be
"keywords": "meta",
?