From e67f0999184ebdd40c9b8d43d1e6e91dbf865ba1 Mon Sep 17 00:00:00 2001 From: Sam Van Campenhout Date: Wed, 6 Nov 2024 09:28:57 +0100 Subject: [PATCH] Remove our ember-template-tag TS workaround A fix for this has now landed in `@embroider/compat` https://github.com/embroider-build/embroider/blob/stable/CHANGELOG.md#bug-bug-fix-3 --- index.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/index.js b/index.js index d772a5b94..633ba18e7 100644 --- a/index.js +++ b/index.js @@ -5,18 +5,9 @@ module.exports = { options: { babel: { - // This is needed for dynamic imports to work: https://github.com/ef4/ember-auto-import#installing-ember-auto-import-in-an-addon plugins: [ + // This is needed for dynamic imports to work: https://github.com/ef4/ember-auto-import#installing-ember-auto-import-in-an-addon require.resolve('ember-auto-import/babel-plugin'), - // Copied from the v2 addon blueprint: https://github.com/embroider-build/addon-blueprint/blob/eef35575e7130ffe3b588ecd83c637f35fa56220/files/__addonLocation__/babel.config.json#L3 - [ - '@babel/plugin-transform-typescript', - { - allExtensions: true, - onlyRemoveTypeImports: true, - allowDeclareFields: true, - }, - ], ], }, 'ember-cli-babel': { enableTypeScriptTransform: true },