Skip to content

Commit

Permalink
Delete duplicated file in @babel/compat-data
Browse files Browse the repository at this point in the history
This file is the same as `native-modules.json`, which is exported in package.json
  • Loading branch information
nicolo-ribaudo committed Jan 21, 2020
1 parent 1815c34 commit 1452610
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
4 changes: 2 additions & 2 deletions lerna.json
Expand Up @@ -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/**"
]
Expand Down
12 changes: 0 additions & 12 deletions packages/babel-compat-data/data/built-in-modules.json

This file was deleted.

Expand Up @@ -29,7 +29,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,
};
Expand Down

0 comments on commit 1452610

Please sign in to comment.