rollup-plugin-ignore-regex

0.0.0 • Public • Published

rollup-plugin-ignore

Prevent a module from showing up in the output bundle. You will get export default {} instead.

Installation

npm install --save-dev rollup-plugin-ignore

Usage

Let’s say you want to prevent fs and net from being bundled:

import { rollup } from 'rollup';
import ignore from 'rollup-plugin-ignore';
 
rollup({
  entry: 'main.js',
  plugins: [
    ignore(['fs', 'net'])
  ]
}).then(...)

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i rollup-plugin-ignore-regex

Weekly Downloads

1

Version

0.0.0

License

MIT

Unpacked Size

3.06 kB

Total Files

4

Last publish

Collaborators

  • morgs32