Skip to content

Commit

Permalink
Deprecate ember-cli-babel v5.x support
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Jul 1, 2021
1 parent 66afeed commit 159abac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ module.exports = {
appOrParent.options.babel = appOrParent.options.babel || {};
appOrParent.options.babel.plugins = appOrParent.options.babel.plugins || [];
appOrParent.options.babel.plugins.push(require('./strip-data-test-properties-plugin'));

this.ui.writeWarnLine('[ember-test-selectors] DEPRECATION: Using ember-cli-babel v5 with ember-test-selectors ' +
'is deprecated. Please make sure to update your ember-cli-babel version.');
} else if (checker.satisfies('^6.0.0-beta.1') || checker.satisfies('^7.0.0')) {
appOrParent.options.babel6 = appOrParent.options.babel6 || {};
appOrParent.options.babel6.plugins = appOrParent.options.babel6.plugins || [];
Expand Down

0 comments on commit 159abac

Please sign in to comment.