1.1.0 • Published 2 years ago

rollup-plugin-all-external v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

rollup-plugin-all-external

This rollup plugin marks node builtins, bun builtins, and everything in a node_modules directory as external. As opposed to the rollup-plugin-node-builtins plugin, this plugin does not mark node_modules as external.

You probably also want to install @rollup/plugin-node-resolve or else installed dependencies like fs-extra wont be picked up.

Usage

import external from 'rollup-plugin-all-external';

export default {
  // ...
  plugins: [
    external()
  ]
};