From 70cdb838c232e9b53692682d9ee9ba7f8e3059c5 Mon Sep 17 00:00:00 2001 From: Bert De Block Date: Tue, 31 Oct 2023 12:57:36 +0100 Subject: [PATCH] Add support for `ember-cli-babel` v8 (#1213) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 324f43da..f4757b0c 100644 --- a/index.js +++ b/index.js @@ -74,7 +74,7 @@ module.exports = { appOrParent.options.babel6.plugins.push( require.resolve('./strip-data-test-properties-plugin6') ); - } else if (checker.satisfies('^7.0.0')) { + } else if (checker.satisfies('^7.0.0') || checker.satisfies('^8.0.0')) { appOrParent.options.babel = appOrParent.options.babel || {}; appOrParent.options.babel.plugins = appOrParent.options.babel.plugins || []; appOrParent.options.babel.plugins.push(