# babel-plugin-strip-requirejs-plugin-prefix

> Strips off plugin prefixes from all define and require calls

Latest version **1.0.0** (published 2015-11-04) · 0 weekly downloads

## Install

```sh
npm install babel-plugin-strip-requirejs-plugin-prefix
pnpm add babel-plugin-strip-requirejs-plugin-prefix
yarn add babel-plugin-strip-requirejs-plugin-prefix
bun add babel-plugin-strip-requirejs-plugin-prefix
```

## 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.0.0 |
| Published | 2015-11-04 |
| First published | 2015-11-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | kayneb |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-strip-requirejs-plugin-prefix
- Repository: https://github.com/kayneb/babel-plugin-strip-requirejs-plugin-prefix
- Issues: https://github.com/kayneb/babel-plugin-strip-requirejs-plugin-prefix/issues
- npm.io page: https://npm.io/package/babel-plugin-strip-requirejs-plugin-prefix

## Recent versions

- 1.0.0 (latest) — 2015-11-04

## README

# Babel Remove RequireJS plugin prefixes

This is a [Babel](https://babeljs.io/) plugin for removing the plugin prefixes from module requirements in `require` and `define` calls.

# What it does

It turns define or require calls like this:


```
define(['es6!some-module-1', 'normal-module'], function () { ... })
```

into

```
define(['some-module-1', 'normal-module'], function () { ... })
```

Pretty simple huh!

# Installation
First install via npm, or add to your `package.json`

```
npm install --save-dev babel-plugin-strip-requirejs-plugin-prefix
```

Then in your babel configuration, add `'strip-requirejs-plugin-prefix'` to your set of plugins:

```
{
  'plugins': [
    ['strip-requirejs-plugin-prefix', { plugin: 'es6'}]
  ]
}
```

# License
See [LICENSE.md](./LICENSE.md)

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