Skip to content

Commit

Permalink
feat: update component css selector
Browse files Browse the repository at this point in the history
  • Loading branch information
druhill committed Mar 12, 2024
1 parent dca966a commit 7a8a6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const getSplit = (componentName, modeName, format, subType, suffix, outputRefere

const path = getPath(componentName)

const selector = outputReferences ? `.sds-mode` : modeName ? `.sds-mode-${modeName}` : undefined
const selector = outputReferences ? `[class^="sds-mode-"]` : modeName ? `.sds-mode-${modeName}` : undefined

return [
{
Expand Down

0 comments on commit 7a8a6eb

Please sign in to comment.