rollup-plugin-all-external
v1.1.0
Published
Simple plugin to set externals for libraries.
Downloads
3
Readme
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()
]
};