text: import typescript from '@rollup/plugin-typescript';
  import { nodeResolve } from '@rollup/plugin-node-resolve';
  
  export default {
      input: "./src/index.ts",
      output: {
        file: "./dist/inview-next.js",
        format: "iife",
        name: "inview"
      },
      external: ['lodash'],
      plugins: [
        nodeResolve(),
        typescript({lib: ["es5", "es6", "dom"], target: "es5"})
      ] 
    };