Sha256: 8ff31186a8bd36f7cf52199303f19b1f2b22e83f85f6260652c1bd6afbd970da
Contents?: true
Size: 607 Bytes
Versions: 62
Compression:
Stored size: 607 Bytes
Contents
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var WebWorkerMainTemplatePlugin = require("./WebWorkerMainTemplatePlugin"); var WebWorkerChunkTemplatePlugin = require("./WebWorkerChunkTemplatePlugin"); function WebWorkerTemplatePlugin() { } module.exports = WebWorkerTemplatePlugin; WebWorkerTemplatePlugin.prototype.apply = function(compiler) { compiler.plugin("this-compilation", function(compilation) { compilation.mainTemplate.apply(new WebWorkerMainTemplatePlugin()); compilation.chunkTemplate.apply(new WebWorkerChunkTemplatePlugin()); }); };
Version data entries
62 entries across 62 versions & 1 rubygems