Skip to content

ember-cli-babel deprecations #79

@sumeetattree

Description

@sumeetattree

Running on the v1.1.7 I am encountering these 2 deprecation warnings:

DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: client -> ember-cli-d3 -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: client -> ember-cli-d3 -> ember-getowner-polyfill -> ember-cli-babel

These warnings are also triggering:

WARNING: You have not included `ember-cli-shims` in your project's `bower.json` or `package.json`. This only works if you provide an alternative yourself and unset `app.vendorFiles['app-shims.js']`.

See this comment in this issue by @rwjblue

We discussed this at the latest ember-cli meeting, and instead of removing directly we need to modify the conditional to only warn if the app does not depend on ember-cli-shims and it has at least one addon that depends on ember-cli-babel@5.

This will remove the warning for folks that do not need it (ember-cli-babel@6.6+ does inline shim transpilation), and continue to be helpful for folks that do rely on the shims...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions