Improved: Regex for FontAwesome (Fonts only)
This commit is contained in:
parent
1efcf3d09a
commit
ce4c65f74e
|
@ -206,7 +206,7 @@ const Regex = {
|
||||||
'BOOTSTRAP_DATEPICKER': /\/bootstrap-datepicker.*\.css/,
|
'BOOTSTRAP_DATEPICKER': /\/bootstrap-datepicker.*\.css/,
|
||||||
'FONT_AWESOME': /use\.fontawesome\.com\/fa-loader\.css/,
|
'FONT_AWESOME': /use\.fontawesome\.com\/fa-loader\.css/,
|
||||||
'FONT_AWESOME_WITH_CODE': /use\.fontawesome\.com\/[a-z0-9]{10}\.(js|css)/,
|
'FONT_AWESOME_WITH_CODE': /use\.fontawesome\.com\/[a-z0-9]{10}\.(js|css)/,
|
||||||
'FONT_AWESOME_FONTS_ONLY': /\/fontawesome\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\//,
|
'FONT_AWESOME_FONTS_ONLY': /\/font-?awesome\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\//,
|
||||||
'BOOTSTRAP_FONTS_ONLY': /\/bootstrap\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\//
|
'BOOTSTRAP_FONTS_ONLY': /\/bootstrap\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\//
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue