Skip to content

Commit

Permalink
refactor(postcss-merge-rules): make vendor prefix regex more accepting
Browse files Browse the repository at this point in the history
  • Loading branch information
ludofischer committed Nov 9, 2021
1 parent 42c8bea commit c310933
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/postcss-merge-rules/src/lib/ensureCompatibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ const cssFirstLine = 'css-first-line';
const cssInOutOfRange = 'css-in-out-of-range';
const formValidation = 'form-validation';

const vendorPrefix =
/-(ah|apple|atsc|epub|hp|khtml|moz|ms|o|rim|ro|tc|wap|webkit|xv)-/;
const vendorPrefix = /-([a-z]+)-/i;

/**
* @param {string} selector
Expand Down

0 comments on commit c310933

Please sign in to comment.