aboutsummaryrefslogtreecommitdiff
path: root/js/tests
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/integration/rollup.bundle.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/tests/integration/rollup.bundle.js b/js/tests/integration/rollup.bundle.js
index f2183e757..e554d8ce4 100644
--- a/js/tests/integration/rollup.bundle.js
+++ b/js/tests/integration/rollup.bundle.js
@@ -2,7 +2,7 @@
const resolve = require('@rollup/plugin-node-resolve')
const commonjs = require('@rollup/plugin-commonjs')
-const babel = require('rollup-plugin-babel')
+const { babel } = require('@rollup/plugin-babel')
module.exports = {
input: 'js/tests/integration/bundle.js',
@@ -14,7 +14,8 @@ module.exports = {
resolve(),
commonjs(),
babel({
- exclude: 'node_modules/**'
+ exclude: 'node_modules/**',
+ babelHelpers: 'bundled'
})
]
}