@element-public/rollup-plugin-external
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

rollup-plugin-external

Externalizes all dependencies and peerDependencies and makes sure all used dependencies are declared in the package.json. Error out for any used dependencies that are not declared in package.json.

Install

npm i --save-dev @element/rollup-plugin-external

Usage

Include this plugin as the first plugin within rollup.config.js:

import { externalPackages } from '@element/rollup-plugin-external';

export default {
  input: /* ... */,
  output: [/* ... */],
  plugins: [
      externalPackages(),
      // Other plugins
  ],
};

Readme

Keywords

none

Package Sidebar

Install

npm i @element-public/rollup-plugin-external

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

3.85 kB

Total Files

4

Last publish

Collaborators

  • peon125
  • slowikowskiarkadiusz
  • arkadiusz.slowikowski