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

Make async/await work nicely by default. #7548

Merged
merged 1 commit into from Jan 11, 2018

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jan 11, 2018

This change does a few things:

  • Add ember-maybe-import-regenerator to the default blueprint.
  • Drop IE9 from config/targets.js, and replace with IE11 (to match
    Ember 3.0.0's minimum browser requirements).
  • Modify config/targets.js to make development builds target modern
    browsers.

This essentially brings over the configuration discussed in this blog post:

Copy link
Contributor

@kratiahuja kratiahuja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per our Ember CLI team meeting discussion, we should mention in the blog post for apps using ember-concurency.

This change does a few things:

* Add `ember-maybe-import-regenerator` to the default blueprint.
* Drop IE9 from `config/targets.js`, and replace with IE11 (to match
  Ember 3.0.0's minimum browser requirements).
* Modify `config/targets.js` to make development builds target modern
  browsers.

This essentially brings over the configuration discussed in [this blog
post](http://rwjblue.com/2017/10/30/async-await-configuration-adventure/):

* [Section 30](http://rwjblue.com/2017/10/30/async-await-configuration-adventure/#install-maybe-install-regenerator)
* [Section 10](http://rwjblue.com/2017/10/30/async-await-configuration-adventure/#limit-targets-locally)
@rwjblue rwjblue merged commit f810b5d into ember-cli:beta Jan 11, 2018
@rwjblue rwjblue deleted the nicer-async-await branch January 11, 2018 23:09
@Turbo87
Copy link
Member

Turbo87 commented Jan 21, 2018

FWIW I'm a little worried about dev being built differently from prod now... 🤔

@rwjblue
Copy link
Member Author

rwjblue commented Jan 21, 2018

CI also checks the transpiled version too.

@Turbo87
Copy link
Member

Turbo87 commented Jan 21, 2018

yeah, I've seen that... still got a somewhat bad feeling about this

@rwjblue
Copy link
Member Author

rwjblue commented Jan 21, 2018

Hmm. We should discuss in higher bandwidth. That specific part was not the high order bit here...

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

Successfully merging this pull request may close these issues.

None yet

4 participants