aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-05-26 19:20:15 +0300
committerXhmikosR <[email protected]>2020-06-04 17:53:16 +0300
commit7a9bbd4489dc9343db2ae269037a9dc0ca2cb52d (patch)
tree96ce33815fbfea9a44f6c4225aa4a1cd12b710d7 /js
parentfdb596b2c32cff35da2ab6686e06f8558d6a05e8 (diff)
downloadbootstrap-7a9bbd4489dc9343db2ae269037a9dc0ca2cb52d.tar.xz
bootstrap-7a9bbd4489dc9343db2ae269037a9dc0ca2cb52d.zip
Backport #30742
Update to `@rollup/plugin-babel`
Diffstat (limited to 'js')
-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'
})
]
}