@bit/loader-json

1.2.1 • Public • Published

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

Package Sidebar

Install

npm i @bit/loader-json

Weekly Downloads

4

Version

1.2.1

License

MIT

Unpacked Size

3.85 kB

Total Files

7

Last publish

Collaborators

  • manchagnu