Browse Source

remove ignorecase

pull/20/head
Ivan Bunin 7 years ago
parent
commit
18eea3cf1c
  1. 2
      index.js

2
index.js

@ -28,7 +28,7 @@ module.exports = postcss.plugin('postcss-px-to-viewport', function (options) {
// Not anything inside url()
// Any digit followed by px
// !singlequotes|!doublequotes|!url()|pixelunit
var pxRegex = new RegExp('"[^"]+"|\'[^\']+\'|url\\([^\\)]+\\)|(\\d*\\.?\\d+)' + opts.unitToConvert, 'ig');
var pxRegex = new RegExp('"[^"]+"|\'[^\']+\'|url\\([^\\)]+\\)|(\\d*\\.?\\d+)' + opts.unitToConvert, 'g');
var satisfyPropList = createPropListMatcher(opts.propList);
return function (css) {

Loading…
Cancel
Save