I have a file with sass variables, it has a list like this:
$columnsClasses: 'Id', 'Phase', 'Status', 'Source', 'Date'
and so I write the following at the same file to export this list
:export {
columnsClasses: $columnsClasses;
}
I need to import this list to JS file due to some reasons. But when I do that, I get just one big string instead of array.
like this: '"Id", "Phase", "Status", "Source", "Date"'
How should I export sass list to get an array in JS?