bundle-webpack2-loader

0.1.0-alpha.1 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i bundle-webpack2-loader

Weekly Downloads

2

Version

0.1.0-alpha.1

License

none

Last publish

Collaborators

  • cap32