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