{"library":"rollup-plugin-ignore","title":"rollup-plugin-ignore","description":"Rollup plugin that excludes specified modules from the output bundle, replacing them with an empty default export. Current stable version is 1.0.10, with infrequent releases. It is a minimal, focused tool for preventing Node.js built-ins like `fs` or `net` from being bundled. Unlike alternatives like `@rollup/plugin-virtual`, it specifically removes the module content rather than providing stub implementations. The plugin includes a `commonjsBugFix` option to work around an issue with `@rollup/plugin-commonjs`. It ships TypeScript type definitions and is designed for use with Rollup's ESM-based plugin system.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-ignore"],"cli":null},"imports":["import ignore from 'rollup-plugin-ignore'","import type { IgnoreOptions } from 'rollup-plugin-ignore'","const ignore = require('rollup-plugin-ignore').default"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import ignore from 'rollup-plugin-ignore';\n\nexport default {\n  input: 'main.js',\n  output: {\n    dir: 'output',\n    format: 'esm',\n  },\n  plugins: [\n    ignore(['fs', 'net']),\n  ],\n};","lang":"typescript","description":"Rollup configuration that excludes the Node.js built-in modules 'fs' and 'net' from the bundle, replacing them with empty exports.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}