import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
const plugins = [
  babel({ exclude: 'node_modules/**', babelHelpers: 'bundled' }),
  resolve({ module: true, jsnext: true, main: true, browser: true, extensions: ['.js'] }),
  commonjs({
    include: ['node_modules/**'],
  }),
];

export default plugins;
