# babel-plugin-ignore-import

> Babel plugin to ignore import statements that match a particular pattern

Latest version **1.1.0** (published 2020-12-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-ignore-import
pnpm add babel-plugin-ignore-import
yarn add babel-plugin-ignore-import
bun add babel-plugin-ignore-import
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-12-09 |
| First published | 2019-11-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | chrishinrichs |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-ignore-import
- Repository: https://github.com/chrishinrichs/babel-plugin-ignore-import
- Homepage: https://github.com/chrishinrichs/babel-plugin-ignore-import#readme
- Issues: https://github.com/chrishinrichs/babel-plugin-ignore-import/issues
- npm.io page: https://npm.io/package/babel-plugin-ignore-import

## Recent versions

- 1.1.0 (latest) — 2020-12-09
- 1.0.1 — 2019-11-01
- 1.0.0 — 2019-11-01

## README

# babel-plugin-ignore-import
Babel plugin to ignore import statements that match a particular string. This plugin will completely remove the `import` or `require` line from the file if the path matches the passed regular expression string. Also supports passing an array of file extensions.

Usage:

{
  plugins: [
    ["ignore-import", {
      "pathPattern": "path/to/remove",
      "extensions": [".css", ".less"]
    }]
  ]
}

---
_Source: https://npm.io/package/babel-plugin-ignore-import · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
