0.1.0-alpha.1 • Published 8 years ago

bundle-webpack2-loader v0.1.0-alpha.1

Weekly downloads
3
License
-
Repository
github
Last release
8 years ago

bundle loader for webpack2

Usage

Documentation: Using loaders

// The chunk is requested, when you require the bundle
import waitForChunk from "bundle!./file.js";

// To wait until the chunk is available (and get the exports)
//  you need to async wait for it.
waitForChunk
    .then(function (file) {

    })
    .catch(function (err) {

    })
;

License

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