You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when we create selectors with each keywords, for example, in the main file if we import main file with reference keyword our output should not have duplicate selectors.
Actual Behavior
these kinds of selectors will be duplicated on the output file
Code
each(range(1,5),{.flex-@{value}{flex: @value}})
How Do We Reproduce?
copy and paste flex generator code in one file and import it with reference in other less files.
there is a workaround for those who faced the same issue, you can put all generated selectors in one file and import it once in your js file.
The text was updated successfully, but these errors were encountered:
Expected Behavior
when we create selectors with
each
keywords, for example, in themain
file if we importmain
file with reference keyword our output should not have duplicate selectors.Actual Behavior
these kinds of selectors will be duplicated on the output file
Code
How Do We Reproduce?
copy and paste flex generator code in one file and import it with reference in other less files.
there is a workaround for those who faced the same issue, you can put all generated selectors in one file and import it once in your js file.
The text was updated successfully, but these errors were encountered: