bit-loader-httpresource
v1.0.2
Published
bit-loader plugin for loading http resources
Downloads
17
Maintainers
Readme
bit-loader-httpresource
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"
});