mirror of https://github.com/webpack/webpack.git
feat: update regex to match valid css file names
This commit is contained in:
parent
aaadc24daf
commit
d2bc40cf73
|
@ -39,7 +39,7 @@ const IMAGE_SET_FUNCTION = /^(-\w+-)?image-set$/i;
|
|||
const OPTIONALLY_VENDOR_PREFIXED_KEYFRAMES_AT_RULE = /^@(-\w+-)?keyframes$/;
|
||||
const OPTIONALLY_VENDOR_PREFIXED_ANIMATION_PROPERTY =
|
||||
/^(-\w+-)?animation(-name)?$/i;
|
||||
const IS_MODULES = /\.module(s)?\.[\w-]+$/i;
|
||||
const IS_MODULES = /\.module(s)?\.[^.]+$/i;
|
||||
|
||||
/**
|
||||
* @param {string} str url string
|
||||
|
|
Loading…
Reference in New Issue