Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@bit/loader-json

MiguelCastillo95MIT1.2.1

bit-loader plugin for JSON

bit-bundler, bit-loader, bit-loader-plugin

readme

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