bundle-loader

bundle loader module for webpack

npm install bundle-loader
6 downloads in the last day
65 downloads in the last week
218 downloads in the last month

bundle loader for webpack

Usage

require("bundle!./file.js")(function(file) {
    // use file like is was required with
    // var file = require("./file.js");
});
// wraps the require in a requre.ensure block

The file is requested when you require the bundle loader. If you want it to request it lazy, use:

require("bundle?lazy!.file.js")

License

MIT (http://www.opensource.org/licenses/mit-license.php)

npm loves you