| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/57327 |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks! It's unfortunate that we cannot easily add a test for this, but hopefully once we release Babel 8 (as native ESM) this problem won't risk happening anymore.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
There is a cyclic dependency between babel-helper-module-transforms and babel-core, which is not currently supported in jspm.io for running Babel when it is transpiled into ESM since CJS cycles behave differently to ESM cycles in allowing bindings defined before the require to be available.
With this minor refactoring in hoisting I've verified that this gets Babel to work correctly on jspm.io again.
There may be even be some minor top-level initialization performance benefits here as well in only initializing used features.