diff --git a/babel.config.js b/babel.config.js index 85c1d8b2..9c1779d6 100644 --- a/babel.config.js +++ b/babel.config.js @@ -16,7 +16,13 @@ module.exports = { ], plugins: [ ['ttag', { resolve: { translations: `i18n/${locale}.po` } }], - ['module-resolver', { root: ['./'] }], + [ + 'module-resolver', + { + root: ['./'], + extensions: ['.js', '.ts'], + }, + ], '@babel/plugin-proposal-class-properties', ], };