diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-07-01 21:41:52 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-07-01 21:58:52 +0300 |
commit | f09db3ca384609afa231a931efa202cf1158d134 (patch) | |
tree | 222e94aab92850053aa1c954de94364565b666f1 /babel.config.js | |
parent | fa7e9b459592feb0eb1bbc9289f46a601ea1e27d (diff) |
Fix jest
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'babel.config.js')
-rw-r--r-- | babel.config.js | 17 |
1 files changed, 17 insertions, 0 deletions
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"] + } + } +} + |