Remove core-js dependency from @babel/register#9847
Remove core-js dependency from @babel/register#9847nicolo-ribaudo merged 1 commit intobabel:masterfrom
Conversation
This module doesn't use core-js at all.
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/10681/ |
|
While this could be removed, I am a bit worried that it will break users using cc @babel/babel |
ljharb
left a comment
There was a problem hiding this comment.
anyone relying on this being implicitly present already has a bug; this error will surface their broken package.json most efficiently, at build time.
|
Perhaps we should move the core-js dep to preset-env, then? |
Actually, |
|
ok, fair point on that. still tho, theoretically any test of any kind on a babelified file would expose it? |
The dependency
core-jsis not actually used by@babel/registerso this PR removes it.