There are use cases where the end user would want to construct an SVG html string, an example would be translation strings.
A ?verbose mode could cover this
{
name: "Some Name",
target: "ember",
component: TargetComponent,
html: "<svg>...</svg>",
symbolId: "7276d36a",
sprite: "path/to/sprite.svg"
}
Or a way to get the data from imports eg
import { default as lunaEditIcon, symbolId, html } from '@soxhub/luna-tokens/icons/adopted/luna-edit.svg';
console.log(symbolId, html);
Also a way to change target adhoc would be useful
import lunaEditIcon from '@soxhub/luna-tokens/icons/adopted/luna-edit.svg?target=dom';
There are use cases where the end user would want to construct an SVG html string, an example would be translation strings.
A
?verbosemode could cover thisOr a way to get the data from imports eg
Also a way to change target adhoc would be useful