| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: Spencer Elliott <me@elliottsj.com> Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com> Co-authored-by: merceyz <merceyz@users.noreply.github.com>
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/57510 |
Sorry, something went wrong.
There was a problem hiding this comment.
If we can get rid of the parser's node clone method in Babel 8, we can consider using the babel types node builder to create AST nodes directly, which will make @babel/types a runtime dependency. This approach should be better than our current approach where a blanket node is assigned with random new properties depending on different AST types.
Sorry, something went wrong.
|
I like that currently @babel/parser is a single ESM file with no deps, so it can trivially loaded in browsers, but yes we should think about it. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Closes #15042, closes #11118, closes #9924
I still dislike the idea of adding a dependency that is only needed for type-checking and not at runtime, but:
So here we are.