import babel from 'rollup-plugin-babel';
import pkg from './package.json';

export default [
  {
    entry: 'src/waypoint.jsx',
    external: [
      ...Object.keys(pkg.dependencies),
      ...Object.keys(pkg.peerDependencies),
    ],
    targets: [
      { dest: pkg.main, format: 'cjs' },
      { dest: pkg.module, format: 'es' }
    ],
    plugins: [
      babel({
        exclude: ['node_modules/**']
      })
    ]
  }
];

@@ -98,13 +98,13 @@
     
-entry
+input
 : 's
@@ -236,15 +236,14 @@
     
-targets
+output
 : %5B%0A
@@ -246,28 +246,28 @@
 : %5B%0A      %7B 
-dest
+file
 : pkg.main, 
@@ -295,12 +295,12 @@
   %7B 
-dest
+file
 : pk

Update rollup config for rollup 0.48