An open API service indexing awesome lists of open source software.

https://github.com/miguelcastillo/bit-loader-excludes

bit-loader plugin to exclude modules from being processed
https://github.com/miguelcastillo/bit-loader-excludes

Last synced: about 2 months ago
JSON representation

bit-loader plugin to exclude modules from being processed

Awesome Lists containing this project

README

        

# bit-loader-excludes

[![Greenkeeper badge](https://badges.greenkeeper.io/MiguelCastillo/bit-loader-excludes.svg)](https://greenkeeper.io/)

Plugin for specifying *module names* to be replaced with empty stub modules. Primary use case is for replacing node modules with empty ones.

## compatible with

- [bit-bundler](https://github.com/MiguelCastillo/bit-bundler)

# usage

``` javascript
var Bitbundler = require("bit-bundler");
var excludesPlugin = require("bit-loader-excludes");

var bitbundler = new Bitbundler({
loader: {
plugins: [
excludesPlugin(["node-fetch"])
]
}
});
```