22 lines
459 B
JavaScript
22 lines
459 B
JavaScript
/* 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'
|
|
})
|
|
]
|
|
}
|