export default {
  input: 'js/app.js',
  output: {
    file: 'dist/index.js',
    format: 'umd'
  }
};

import nodeResolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';

export default {
  input: 'js/app.js',
  output: {
    file: 'dist/index.js',
    format: 'umd'
  },
  plugins: [
    commonjs(),
    nodeResolve()
  ]
};

Use plugins to import modules from `node_modules`
Use plugins to import modules from `node_modules`
