diff options
Diffstat (limited to 'babel.config.js')
-rw-r--r-- | babel.config.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/babel.config.js b/babel.config.js index e3de8ef2d83..e3db4dcbc9a 100644 --- a/babel.config.js +++ b/babel.config.js @@ -40,8 +40,7 @@ if (BABEL_ENV === 'karma' || BABEL_ENV === 'coverage') { // Jest is running in node environment if (BABEL_ENV === 'jest') { - plugins.push('transform-es2015-modules-commonjs'); - plugins.push('dynamic-import-node'); + plugins.push('@babel/plugin-transform-modules-commonjs'); } module.exports = { presets, plugins }; |