From f09db3ca384609afa231a931efa202cf1158d134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Mon, 1 Jul 2019 20:41:52 +0200 Subject: Fix jest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- babel.config.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 babel.config.js (limited to 'babel.config.js') diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 000000000..28317fcdd --- /dev/null +++ b/babel.config.js @@ -0,0 +1,17 @@ +module.exports = { + plugins: ['@babel/plugin-syntax-dynamic-import'], + presets: [ + [ + '@babel/preset-env', + { + "modules": false + } + ] + ], + env: { + test: { + plugins: ["transform-es2015-modules-commonjs"] + } + } +} + -- cgit v1.2.3