Delete duplicated file in @babel/compat-data (#11041)
This file is the same as `native-modules.json`, which is exported in package.json
This commit is contained in:
parent
b54a946048
commit
ed47d2e89a
@ -23,8 +23,8 @@
|
||||
"test/**",
|
||||
"**/test/**",
|
||||
"codemods/**",
|
||||
"# We ignore every JSON file, except for built-in-modules, built-ins and plugins defined in babel-preset-env/data.",
|
||||
"@(!(built-in-modules|built-ins|plugins|package)).json",
|
||||
"# We ignore every JSON file, except for native-modules, built-ins and plugins defined in babel-preset-env/data.",
|
||||
"@(!(native-modules|built-ins|plugins|package)).json",
|
||||
"# Until the ESLint packages version are aligned with Babel's, we ignore them",
|
||||
"eslint/**"
|
||||
]
|
||||
|
||||
@ -1,15 +0,0 @@
|
||||
{
|
||||
"es6.module": {
|
||||
"edge": "16",
|
||||
"firefox": "60",
|
||||
"chrome": "61",
|
||||
"safari": "10.1",
|
||||
"opera": "48",
|
||||
"ios_saf": "10.3",
|
||||
"android": "61",
|
||||
"op_mob": "48",
|
||||
"and_chr": "61",
|
||||
"and_ff": "60",
|
||||
"samsung": "8.2"
|
||||
}
|
||||
}
|
||||
@ -6,7 +6,10 @@
|
||||
"safari": "10.1",
|
||||
"opera": "48",
|
||||
"ios_saf": "10.3",
|
||||
"and_chr": "74",
|
||||
"and_ff": "66"
|
||||
"android": "61",
|
||||
"op_mob": "48",
|
||||
"and_chr": "61",
|
||||
"and_ff": "60",
|
||||
"samsung": "8.2"
|
||||
}
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ Object.keys(stats).forEach(browser => {
|
||||
}
|
||||
});
|
||||
|
||||
const dataPath = path.join(__dirname, "../data/built-in-modules.json");
|
||||
const dataPath = path.join(__dirname, "../data/native-modules.json");
|
||||
const data = {
|
||||
"es6.module": allowedBrowsers,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user