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

Switch Babel 7 REPL to babel-standalone #1280

Merged
merged 3 commits into from Jul 27, 2017
Merged

Conversation

Daniel15
Copy link
Member

@Daniel15 Daniel15 commented Jul 22, 2017

I released a build of babel-standalone that uses Babel 7, so I'm switching the REPL to use it. It's much faster to load than the packd.now.sh one. I also re-added the preset selector.

I'd like to add the env preset too... Looks like @yavorsky created a "babel-preset-env-standalone". I'd like to merge that directly into babel-standalone if possible.

Live demo: http://babeldev.dan.cx/7/
babel-standalone branch: https://github.com/babel/babel-standalone/tree/v7

@Daniel15 Daniel15 requested a review from hzoo July 22, 2017 05:24
@yavorsky
Copy link
Member

yavorsky commented Jul 22, 2017

Wow, cool!
I think we can get rid of env-standalone and modify original repo for this purposes. Merging babel/babel-preset-env#379 might be enought to use it with packd.now.sh. Or add build script (like in env-standalone), because packd.now.sh is really slow.
The huge benefit is that we don't need to update 2 repos every time we made changes, just running build script will be enough.

Also, I've created 2.0 branch for https://babeljs.io/7 + 2.0 preset-env and could merge it with your work.
And, I've removed es2015,16,17 and replaced it with preset-env + stage presets.

screen shot 2017-07-21 at 11 44 11

This was referenced Jul 23, 2017
@hzoo
Copy link
Member

hzoo commented Jul 27, 2017

@Daniel15 is the v7 releases automated? I did a alpha.17 release the other day

@hzoo hzoo merged commit e7d082e into babel:master Jul 27, 2017
@Daniel15
Copy link
Member Author

Once the PR is merged to add the "env" preset to Babel-standalone, we can add it here. babel/babel-standalone#90

@hzoo It's not automated yet, but it could be! I was just worried about breaking changes messing things up :P I'll update the auto-update script to accommodate it.

Sent from my Samsung SAMSUNG-SM-G925A using FastHub

@hzoo
Copy link
Member

hzoo commented Jul 27, 2017

yeah would like if the repl was always the latest and if theres a bug then we can fix, or my other idea about making a new repl link when a babel pr is merged

@Daniel15 Daniel15 deleted the repl-standalone branch July 30, 2017 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants