Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

🧠 Ideas/Issues dump #101

Open
hzoo opened this issue Oct 5, 2019 · 3 comments
Open

🧠 Ideas/Issues dump #101

hzoo opened this issue Oct 5, 2019 · 3 comments

Comments

@hzoo
Copy link
Member

hzoo commented Oct 5, 2019

From https://twitter.com/left_pad/status/1177371889477533698?s=20

  • Confusion around Babel 7 + monorepo setup, maybe just need to add examples (as Babel itself is a monorepo)
  • JSX changes
  • Port to TS
  • Redo State API, files/options
  • Async Visitors (or just pause/resume traversal since synchronous)


test262: create our own website that uses whitelist to showcase our caveats/won'tfix/unsupported features

@nicolo-ribaudo nicolo-ribaudo changed the title Ideas/Issues dump 🧠 Ideas/Issues dump Oct 6, 2019
@nicolo-ribaudo
Copy link
Member

  • Figure out nested traverse ordering
    • Plugins running on class fields have trouble because they are always first transformed by @babel/plugin-proposal-class-properties which visits Class and not ClassProperty
    • path.traverse should "delegate to the outer traversal", rather than having higher precedence
  • JSON schema for autocompletions in babel.config.json

@hzoo
Copy link
Member Author

hzoo commented Oct 29, 2019

  • Plugin Ordering (Part 2) babel#5854, Plugin ordering but also just built-in "capabilities" support for plugins to use/query from. Ideally a lot of options should be automatically enabled/disabled based on things like what is running Babel (node/webpack/etc), and what is the supported output (environment/browsers) vs having to use preset-env itself?

@JLHwung
Copy link

JLHwung commented Nov 9, 2019

Babel test fixtures viewer: Read input.js and output.json, render them in a two column view like https://astexplorer.net/. Good to check whether the loc is correct,type is correct or if it is parsed as wrong AST node.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants