This commit is contained in:
oitsjustjose 2017-02-26 17:06:42 -05:00
commit 6b60015c02
9588 changed files with 1149251 additions and 49 deletions

17
node_modules/import-regex/index.js generated vendored Normal file
View file

@ -0,0 +1,17 @@
'use strict';
/**
* Regular expression for matching CSS @imports
*
* @param {Object} opts
* @api public
*/
module.exports = function (opts) {
opts = opts || {};
var regex = '(?:@import)(?:\\s)(?:url)?(?:(?:(?:\\()(["\'])?(?:[^"\')]+)\\1(?:\\))|(["\'])(?:.+)\\2)(?:[A-Z\\s])*)+(?:;)';
return opts.exact ? new RegExp('(?:^' + regex + '$)', 'i') :
new RegExp('(?:^|\\s)?' + regex, 'gi');
};