0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-04 22:46:13 +01:00
Bootstrap/js/tests/integration/rollup.bundle.js
XhmikosR 7a9bbd4489 Backport #30742
Update to `@rollup/plugin-babel`
2020-06-04 17:53:16 +03:00

22 lines
447 B
JavaScript

/* eslint-env node */
const resolve = require('@rollup/plugin-node-resolve')
const commonjs = require('@rollup/plugin-commonjs')
const { babel } = require('@rollup/plugin-babel')
module.exports = {
input: 'js/tests/integration/bundle.js',
output: {
file: 'js/coverage/bundle.js',
format: 'iife'
},
plugins: [
resolve(),
commonjs(),
babel({
exclude: 'node_modules/**',
babelHelpers: 'bundled'
})
]
}