@bit/loader-httpresource
bit-loader plugin for loading http resources
Last updated 2 years ago by manchagnu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @bit/loader-httpresource 
SYNC missed versions from official npm registry.

bit-loader-httpresource

Greenkeeper badge

bit-loader plugin for loading http resources. Meaning that any module dependencies that are http resources will be downloaded and treated like any other local dependency.

usage

install

$ npm install --save-dev @bit/loader-httpresource

bit-bundler

var Bitbundler = require("@bit/bundler");
var jsPlugin = require("@bit/loader-js");
var httpResourcePlugin = require("@bit/loader-httpresource");

var bitbundler = new Bitbundler({
  loader: {
    plugins: [
      jsPlugin(),
      httpResourcePlugin()
    ]
  }
});

bitbundler.bundle({
  src: "in.js",
  dest: "out.js"
});

Current Tags

  • 1.0.3                                ...           latest (2 years ago)

2 Versions

  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 6
Last Day 0
Last Week 3
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |