bundle marked loader for webpack
Fork of https://github.com/webpack/bundle-loader
Usage
// The chunk is requested, when you require the bundlevar waitForChunk = ;console; // function is marked with `__asyncModule` flag// To wait until the chunk is available (and get the exports)// you need to async wait for it.;// wraps the require in a require.ensure block
The file is requested when you require the bundle loader. If you want it to request it lazy, use:
var load = ;console; // function is marked with `__asyncModule` flagconsole; // function is marked with `__lazyModule` flag// The chunk is not requested until you call the load function;
You may set name for bundle (name
query parameter). See documentation.
;
License
MIT (http://www.opensource.org/licenses/mit-license.php)