code: function parseImportData(cssText, baseUrl, ignoreRules = []) {
          const importData = {};
  
          // @import rules
          // Ex: @import "file.css";
          importData.rules = (cssText
              // Remove comments to avoid processing @import in comments
              .replace(regex.cssComments, '')
              // Find all @import rules
              .match(regex.cssImports)
              // Force empty array if no match
              || [])
              // Remove rules found in ignoreRules array
              .filter(rule => ignoreRules.indexOf(rule) === -1);
  
          // @import urls
          // Ex: file.css
          importData.urls = importData.rules.map(rule => rule.replace(regex.cssImports, '$1'));
  
          // Absolute @import urls
          // Ex: /path/to/file.css
          importData.absoluteUrls = importData.urls.map(url => getFullUrl(url, baseUrl));
  
          // Absolute @import rules
          // Ex: @import "/path/to/file.css";
          importData.absoluteRules = importData.rules.map((rule, i) => {
              const oldUrl = importData.urls[i];
              const newUrl = getFullUrl(importData.absoluteUrls[i], baseUrl);
  
              return rule.replace(oldUrl, newUrl);
          });
  
          return importData;
      }
docs: Parses CSS and returns an object containing @import related data.
  
  @param {any} cssText CSS text to be processed
  @param {any} baseUrl Base URL used to resolve relative @import URLs
  @param {any} [ignoreRules=[]]
  @returns {object}