2018-12-13 10:54:54 +01:00
|
|
|
/* eslint-env node */
|
|
|
|
|
2019-12-31 17:53:30 +01:00
|
|
|
const commonjs = require('@rollup/plugin-commonjs')
|
2020-05-26 18:20:15 +02:00
|
|
|
const { babel } = require('@rollup/plugin-babel')
|
2020-07-09 14:21:41 +02:00
|
|
|
const { nodeResolve } = require('@rollup/plugin-node-resolve')
|
2018-12-13 10:54:54 +01:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
input: 'js/tests/integration/bundle.js',
|
|
|
|
output: {
|
|
|
|
file: 'js/coverage/bundle.js',
|
|
|
|
format: 'iife'
|
|
|
|
},
|
|
|
|
plugins: [
|
2020-07-09 14:21:41 +02:00
|
|
|
nodeResolve(),
|
2018-12-13 10:54:54 +01:00
|
|
|
commonjs(),
|
|
|
|
babel({
|
2020-05-26 18:20:15 +02:00
|
|
|
exclude: 'node_modules/**',
|
|
|
|
babelHelpers: 'bundled'
|
2018-12-13 10:54:54 +01:00
|
|
|
})
|
|
|
|
]
|
|
|
|
}
|