Skip to content

Commit 2f33ca2

Browse files
evilebottnawiromainmenke
authored andcommitted
fix: handle uppercase IMAGE-SET
Just find problem place in code when look implementation, sorry don't have time on tests
1 parent b1b84c8 commit 2f33ca2

File tree

1 file changed

+1
-1
lines changed
  • plugins/postcss-image-set-function

1 file changed

+1
-1
lines changed

plugins/postcss-image-set-function/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import postcss from 'postcss';
22
import valueParser from 'postcss-values-parser';
33
import processImageSet from './lib/process-image-set';
44

5-
const imageSetValueMatchRegExp = /(^|[^\w-])(-webkit-)?image-set\(/
5+
const imageSetValueMatchRegExp = /(^|[^\w-])(-webkit-)?image-set\(/i
66
const imageSetFunctionMatchRegExp = /^(-webkit-)?image-set$/i
77

88
export default postcss.plugin('postcss-image-set-function', opts => {

0 commit comments

Comments
 (0)