Skip to content

Commit

Permalink
update browser list, future-proofing, #1323
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Sep 13, 2022
1 parent 73b9b3b commit be5ad05
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions js/grunt/transpile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ const babel = require( '@babel/core' ); // eslint-disable-line require-statement
module.exports = function( jsInput, forIE = false ) {
// See options available at https://babeljs.io/docs/usage/api/

// see https://browsersl.ist/#q=%3E+0.25%25%2C+not+dead
const browsers = [
// See http://browserl.ist/?q=%3E+0.5%25%2C+safari+10-11%2C+Firefox+ESR%2C+not+IE+11%2C+ios_saf+11
'> 0.5%',
'safari 10-11',
'Firefox ESR',
'ios_saf 11'
'> 0.25%',
'not dead'
];
browsers.push( forIE ? 'IE 11' : 'not IE 11' );

Expand Down

0 comments on commit be5ad05

Please sign in to comment.