Skip to content

Commit

Permalink
fix attr prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaslee119 authored and 李 立 committed Oct 11, 2017
1 parent b31aa2b commit 12f66f5
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 12f66f5

Please sign in to comment.