lb-dk-2023/assets/bootstrap-4.5.2/js/tests/integration/rollup.bundle.js

22 lines
459 B
JavaScript
Raw Normal View History

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