Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Make Babel flag default=false #561

Merged
merged 1 commit into from
Jun 28, 2015
Merged

Conversation

richardwestenra
Copy link
Contributor

As of 34453b8, Babel is now an option under the --babel flag. However because it is set to true by default, there doesn't seem to be a way to turn it off so it's effectively compulsory. (Am I correct in this? I tried --babel=false and consulted the Yeoman docs, but I can't find a way to set the flag to false.)

If Babel is supposed to be optional then shouldn't it be off by default? Else use a prompt instead.

As of 34453b8, Babel is now an option under the `--babel` flag. However because it is [set to true by default](yeoman/generator-webapp@34453b8#diff-2018087f584c4398b5c3a23fc0e5f9dbR21), there doesn't seem to be a way to turn it off so it's effectively compulsory. (Am I correct in this? I tried `--babel=false` and consulted the Yeoman docs, but I can't find a way to set the flag to false.)

If Babel is supposed to be optional then shouldn't it be off by default? Else use a prompt instead.
@silvenon
Copy link
Member

Nice catch! Thanks 👍

silvenon added a commit that referenced this pull request Jun 28, 2015
Make Babel flag default=false
@silvenon silvenon merged commit e41368f into yeoman:master Jun 28, 2015
@silvenon
Copy link
Member

Released in v0.6.1.

@devinkemper
Copy link

A --no-babel flag will turn off the option if the consensus is to have it on by default.

@silvenon
Copy link
Member

Thanks 👍 We want to have it on by default, so in the next minor/major release we will implement it either as an option (with improved docs) or a prompt.

@richardwestenra richardwestenra deleted the babel branch June 29, 2015 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants