rollup.bundle.js 409 B

1234567891011121314151617181920
  1. /* eslint-env node */
  2. const resolve = require('rollup-plugin-node-resolve')
  3. const commonjs = require('rollup-plugin-commonjs')
  4. const babel = require('rollup-plugin-babel')
  5. module.exports = {
  6. input: 'js/tests/integration/bundle.js',
  7. output: {
  8. file: 'js/coverage/bundle.js',
  9. format: 'iife'
  10. },
  11. plugins: [
  12. resolve(),
  13. commonjs(),
  14. babel({
  15. exclude: 'node_modules/**'
  16. })
  17. ]
  18. }