Skip to content

Commit

Permalink
Merge pull request #752 from Turbo87/babel-5
Browse files Browse the repository at this point in the history
Deprecate ember-cli-babel v5.x support
  • Loading branch information
Turbo87 authored Jul 1, 2021
2 parents 66afeed + 159abac commit 02e10b7
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 02e10b7

Please sign in to comment.