initial commit
This commit is contained in:
17
node_modules/stylehacks/dist/isMixin.js
generated
vendored
Normal file
17
node_modules/stylehacks/dist/isMixin.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = isMixin;
|
||||
function isMixin(node) {
|
||||
const { selector } = node;
|
||||
|
||||
// If the selector ends with a ':' it is likely a part of a custom mixin.
|
||||
if (!selector || selector[selector.length - 1] === ':') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
module.exports = exports['default'];
|
||||
Reference in New Issue
Block a user