# @moped/plugin-noop

> This module provides an empty webpack plugin that doesn't do anything. It is part of the moped suite of utilities for creating composable configs for building node.js and react apps.

Latest version **0.0.7** (published 2018-04-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @moped/plugin-noop
pnpm add @moped/plugin-noop
yarn add @moped/plugin-noop
bun add @moped/plugin-noop
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2018-04-02 |
| First published | 2017-10-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Maintainers | forbeslindesay |

## Links

- npm: https://www.npmjs.com/package/@moped/plugin-noop
- Repository: https://github.com/mopedjs/moped/tree/master/packages/plugin-noop
- npm.io page: https://npm.io/package/@moped/plugin-noop

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) ^8.0.33

## Recent versions

- 0.0.7 (latest) — 2018-04-02
- 0.0.5 — 2018-01-19
- 0.0.4 — 2018-01-09
- 0.0.3 — 2017-12-05
- 0.0.2 — 2017-12-05
- 0.0.1 — 2017-10-13

## README

# plugin-noop

This module provides an empty webpack plugin that doesn't do anything. It is part of the moped suite of utilities for creating composable configs for building node.js and react apps.

This is useful if you need to enable/disable a plugin for different environments. We return this instead of ExtractTextPlugin in `@moped/rule-css` in development.

## Installation

```
yarn add --dev @moped/plugin-noop
```

## Usage

```js
const NoOpPlugin = require('@moped/plugin-noop');

module.exports = {
  entry: __dirname + '/src/index.js',
  output: {
    path: __dirname + '/build',
    filename: 'index.js',
    publicPath: '/',
  },
  plugins: [
    process.env.NODE_ENV === 'development'
      ? new NoOpPlugin()
      : new SomeOtherPlugin(),
  ],
};
```

## Licence

MIT

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