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

Add a direct download link for the browser version #301

Closed
ludofischer opened this issue May 22, 2015 · 7 comments
Closed

Add a direct download link for the browser version #301

ludofischer opened this issue May 22, 2015 · 7 comments
Labels

Comments

@ludofischer
Copy link

Adding a direct download link to the browser version instead of telling users to get it from npm would help newbies who might not know or want to install npm. Specifically, I am writing a book and it would be nice to be able to tell the reader to download babel from the website instead of guiding them through a node install.

@jamiebuilds
Copy link
Contributor

Do not tell your users to download babel from the website. The only way 99% of people should be consuming Babel is via npm.

@ludofischer
Copy link
Author

Ok, nice to know. I don’t understand the difference between downloading the browser version from npm and getting it from the website directly. Is it for bandwidth reasons? Or because you do not want to encourage a bad workflow?

@jamiebuilds
Copy link
Contributor

Because the browser version can only compile inside the browser. You should not be doing that unless you are a site like codepen or jsbin (or the babel online repl). Encourage your users to follow best practices.

@ludofischer
Copy link
Author

I understand that you want people to follow best practices; I planned to make them use the browser version just to get started. The problem that I see with no download link is that it discourages people who do not know what npm is or who have difficulties installing node.

@jamiebuilds
Copy link
Contributor

Sorry but I'd rather actively want to discourage people who are not using npm. Also, please don't tell people to use the browser version in your book, that's not what it is for.

All you have to write:

Make sure Node.js and npm are installed.

$ npm install --global babel

Then you may compile a file with the Babel CLI:

$ babel script.js

@ludofischer
Copy link
Author

I’ll see if my editor agrees that’s the simple enough :-) Thanks for your time.

@sebmck
Copy link
Contributor

sebmck commented May 22, 2015

There are new releases available often enough that you'll need to be updating every second day.

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

3 participants