This is an example of how to use [Rollup] with external dependencies, without hard-coding them.
It reads your installed NPM dependencies and treats them as external to Rollup. They still get bundled, but not as ES2015.
Make sure you have a .babelrc
or a "babel":{}
section in your package.json
.
rollup-plugin-npm
is nowrollup-plugin-node-resolve
.