Uncaught TypeError: regeneratorRuntime is not a function
It is now.
This is an addon that'll import the
Runtime in your Ember app, but only if you didn't already set
babel.includePolyfill to true. This is useful for:
- Apps that want to use ES6 generator functions (including
async/await) but don't want to import the large ~30kb (gzipped) Babel polyfill. This package adds ~2kb (gzipped).
- Addons that depend on generator functions (or other addons
that depend on generator functions) but don't want to
force users to have to add
babel.includePolyfill: trueto their config files (like ember-concurrency, ember-power-select), but shouldn't double import regenerator-runtime if the user already has
git clonethis repository
- Visit your app at http://localhost:4200.
ember try:testallto test your addon against multiple Ember versions)
ember test --server
For more information on using ember-cli, visit http://ember-cli.com/.