Fix mobile browsers support in preset-env (#9978)

* Fix mobile browsers support in preset-env

* Update fixtures

* Alias other mobile browsers, since they aren't included by compat-table
This commit is contained in:
Nicolò Ribaudo
2019-05-15 14:05:37 +02:00
committed by GitHub
parent 85432e2c44
commit 9febf63882
14 changed files with 46 additions and 19 deletions

View File

@@ -3,7 +3,7 @@ const fs = require("fs");
const moduleSupport = require("caniuse-db/features-json/es6-module.json");
const skipList = new Set(["and_chr", "android", "samsung"]);
const skipList = new Set(["android", "samsung"]);
const acceptedWithCaveats = new Set(["safari", "ios_saf"]);
const { stats } = moduleSupport;