Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Dec 24, 2019
1 parent a2fae8e commit 35ec2e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core-js-compat/src/build-entries.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const entries = {};
...glob('packages/core-js/web/**/*.js'),
...glob('packages/core-js/modules/*.js'),
].forEach(file => {
// TODO: store entries without the package name in `core-js@4`
const entry = file.replace(/^packages\/(core-js.+)\.js$/, '$1').replace(/^(.+)\/index$/, '$1');
entries[entry] = getModulesForEntryPoint(resolve(__dirname, `../../${ entry }`));
});
Expand Down

0 comments on commit 35ec2e5

Please sign in to comment.