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

REPL: Add support for all Babel options #92

Closed
jamiebuilds opened this Issue Jan 23, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@jamiebuilds
Member

jamiebuilds commented Jan 23, 2015

It'd be nice to have a dropdown or something that allowed you to toggle all the options for 6to5. It'd be even nicer if it was auto generated from the latest 6to5.

@jamiebuilds

This comment has been minimized.

Show comment
Hide comment
@jamiebuilds

jamiebuilds Jan 23, 2015

Member

It would help to quickly diagnose issues like this: babel/babel#580

Member

jamiebuilds commented Jan 23, 2015

It would help to quickly diagnose issues like this: babel/babel#580

@sparty02

This comment has been minimized.

Show comment
Hide comment
@sparty02

sparty02 Jan 26, 2015

Contributor

Dynamically understanding the current option set will be tricky. There are several options (below list from a quick convo with @sebmck) that may not necessarily be relevant to the REPL. Unless the core exposes the kinds of options the REPL is interested in via an isolated list, it may not be practical (though it would be really nice) to do this in an automated way.

  • filename
  • filenameRelative
  • modules
  • sourceMap
  • sourceMapName
  • sourceFileName
  • sourceRoot
  • moduleRoot
  • moduleIds
  • comments
  • keepModuleIdExtensions
  • code
  • ast
  • format
Contributor

sparty02 commented Jan 26, 2015

Dynamically understanding the current option set will be tricky. There are several options (below list from a quick convo with @sebmck) that may not necessarily be relevant to the REPL. Unless the core exposes the kinds of options the REPL is interested in via an isolated list, it may not be practical (though it would be really nice) to do this in an automated way.

  • filename
  • filenameRelative
  • modules
  • sourceMap
  • sourceMapName
  • sourceFileName
  • sourceRoot
  • moduleRoot
  • moduleIds
  • comments
  • keepModuleIdExtensions
  • code
  • ast
  • format

@jamiebuilds jamiebuilds changed the title from REPL: Add support for all 6to5 options to REPL: Add support for all Babel options Aug 4, 2015

@hzoo hzoo added the help wanted label Jun 13, 2016

@hzoo hzoo referenced this issue Jun 16, 2016

Closed

Online compiler #28

@stale stale bot added the stale label Jun 12, 2017

@stale stale bot closed this Jun 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment