-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use @cspotcode/source-map-support
in @babel/register
#16005
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/55987/ |
import { fileURLToPath } from "url"; | ||
|
||
describe("browserify", function () { | ||
it("@babel/register may be used without breaking browserify", function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate more on why this test is not needed anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason why this test was added is that @babel/core
previously depended on @babel/register
, and we hope that @babel/core
can be used in the browser through browserify
.
Now that it is no longer relied on, @babel/register
itself does not need to be ensured to run in the browser.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok thanks! Could we keep it for Babel 7?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I'll leave it as a TODO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can also just use itBabel7
008d8a4
to
001c694
Compare
82e22a6
to
a1d92d5
Compare
62504f0
to
67a662b
Compare
Fixes #1, Fixes #2
Now we no longer need this test since
@babel/core
no longer depends on it.