From 12f66f5a826d24b88783123f5c3d858a426ae275 Mon Sep 17 00:00:00 2001 From: nicholaslee119 Date: Wed, 11 Oct 2017 13:18:41 +0900 Subject: [PATCH] fix attr prefix --- lib/addScopeIDToCSS/scopeIdPlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}` })) }); };