webworker-loader

web worker loader for webpack

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
webworker-loader
710.1.08 years ago8 years agoMinified + gzip package size for webworker-loader in KB

Readme

Fork of https://www.npmjs.com/package/worker-loader
worker loader for webpack

Usage

var MyWorker = require("worker!./file.js");

var worker = new MyWorker();
worker.postMessage({a: 1});
worker.onmessage = function(event) {...};
worker.addEventListener("message", function(event) {...});

License

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