bit-loader plugin for JSON
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.eslintrc
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

bit-loader-json

Greenkeeper badge

bit-loader plugin for JSON

The output of this plugin factory is a configuration Object that can be used as a bit-loader plugin.

Usage

install

$ npm install @bit/loader-json --save

bit-bundler setup

var Bitbundler = require("@bit/bundler");
var jsonPlugin = require("@bit/loader-json");

var bitbundler = new Bitbundler({
  loader: {
    plugins: [
      jsonPlugin()
    ]
  }
});

License

Licensed under MIT