mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-04 22:46:13 +01:00
7a9bbd4489
Update to `@rollup/plugin-babel`
22 lines
447 B
JavaScript
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'
|
|
})
|
|
]
|
|
}
|