From 7a9bbd4489dc9343db2ae269037a9dc0ca2cb52d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 26 May 2020 19:20:15 +0300 Subject: Backport #30742 Update to `@rollup/plugin-babel` --- js/tests/integration/rollup.bundle.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'js') 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' }) ] } -- cgit v1.2.3