Skip to content

Commit

Permalink
Merge pull request #3 from nicholaslee119/shadow-dom
Browse files Browse the repository at this point in the history
fix attr prefix
  • Loading branch information
nicholaslee119 authored Oct 11, 2017
2 parents b31aa2b + 12f66f5 commit f0987d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/addScopeIDToCSS/scopeIdPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = postcss.plugin('add-id', function(opts){
node = n;
})
selector.insertAfter(node, selectorParser.attribute({
attribute: opts.id
attribute: `data-s-${opts.id}`
}))
});
};
Expand Down

0 comments on commit f0987d3

Please sign in to comment.