summaryrefslogtreecommitdiffstats
path: root/js/tests/integration/rollup.bundle-modularity.js
blob: a8670ca8ce48dfd0f08acb59f0d1a9028d01f70d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* eslint-env node */

const commonjs = require('@rollup/plugin-commonjs')
const configRollup = require('./rollup.bundle')

const config = {
  ...configRollup,
  input: 'js/tests/integration/bundle-modularity.js',
  output: {
    file: 'js/coverage/bundle-modularity.js',
    format: 'iife'
  }
}

config.plugins.unshift(commonjs())

module.exports = config