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
- Host: GitHub
- URL: https://github.com/miguelcastillo/bit-loader-excludes
- Owner: MiguelCastillo
- License: mit
- Created: 2016-12-02T21:52:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-30T13:32:55.000Z (about 7 years ago)
- Last Synced: 2025-03-29T11:06:14.312Z (about 2 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bit-loader-excludes
[](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"])
]
}
});
```