Skip to content
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: have preset/plugin options #1292

Open
hzoo opened this issue Aug 6, 2017 · 7 comments
Open

REPL: have preset/plugin options #1292

hzoo opened this issue Aug 6, 2017 · 7 comments
Labels
Milestone

Comments

@hzoo
Copy link
Member

hzoo commented Aug 6, 2017

Not sure what the UI for this should be though since it can get pretty crazy. Maybe should support realtime babelrc change/pasting in a babelrc?

@hzoo
Copy link
Member Author

hzoo commented Apr 18, 2018

@hzoo hzoo changed the title REPL: handle preset/plugin options REPL: have preset/plugin options Apr 18, 2018
@alejandroiglesias
Copy link

Indeed needed. Some of the plugins cannot be tested without any configuration (like babel-plugin-strip-module).

@Sceat
Copy link

Sceat commented Jun 1, 2019

or pipelines
image

@trusktr
Copy link
Contributor

trusktr commented Sep 5, 2020

This would help increase productivity in reporting issues.

I was trying to make a simple demo, but default options don't work. example repl

@justinfagnani
Copy link

I was just trying to use @babel/plugin-syntax-decorators but it has a required option, so can't work at all in the REPL.

@justinfagnani
Copy link

As for UI, I think some kind of textarea in a disclosure for a plugin, that accepts JSON options for that plugin would suffice for most uses.

@robatwilliams
Copy link

Came here after reading in this 2018 blog post that adding options to the repl was being worked on..

Due to the removal of default behaviour from proposal plugins, it seems important to have support for options in the repl.

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

No branches or pull requests

6 participants