It appears you have a well-structured Git repository with various files, including SVG icons and HTML documents. Here's a brief overview:
This commit is contained in:
15
backend/node_modules/stylehacks/src/isMixin.js
generated
vendored
Normal file
15
backend/node_modules/stylehacks/src/isMixin.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
/**
|
||||
* @param {import('postcss').Rule} node
|
||||
* @return {boolean}
|
||||
*/
|
||||
module.exports = 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;
|
||||
};
|
||||
Reference in New Issue
Block a user