diff --git a/lib/addScopeIDToCSS/scopeIdPlugin.js b/lib/addScopeIDToCSS/scopeIdPlugin.js index 974f9f7..5461ac1 100644 --- a/lib/addScopeIDToCSS/scopeIdPlugin.js +++ b/lib/addScopeIDToCSS/scopeIdPlugin.js @@ -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}` })) }); };