From: Johann-S Date: Wed, 25 Mar 2020 19:59:53 +0000 (+0100) Subject: fix babel config in our files X-Git-Tag: v5.0.0-alpha1~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe492d8021d6f8dc3dde05da014fb1dfaf0b042a;p=thirdparty%2Fbootstrap.git fix babel config in our files --- diff --git a/.babelrc.js b/.babelrc.js index 6fdc98a4e7..b1b8d1573c 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -1,7 +1,7 @@ module.exports = { presets: [ [ - '@babel/env', + '@babel/preset-env', { loose: true, modules: false, diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js index 61f17dedf6..536c1ab2f4 100644 --- a/js/tests/karma.conf.js +++ b/js/tests/karma.conf.js @@ -75,6 +75,7 @@ const conf = { externalHelpersWhitelist: [ 'defineProperties', 'createClass', + 'createSuper', 'inheritsLoose', 'defineProperty', 'objectSpread2'