Sha256: c3edd0970df9e53b614c9d345b056f2190cfc44f8a1c6b934595387605fbe0b7
Contents?: true
Size: 792 Bytes
Versions: 28
Compression:
Stored size: 792 Bytes
Contents
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const EvalDevToolModuleTemplatePlugin = require("./EvalDevToolModuleTemplatePlugin"); class EvalDevToolModulePlugin { constructor(options) { this.sourceUrlComment = options.sourceUrlComment; this.moduleFilenameTemplate = options.moduleFilenameTemplate; this.namespace = options.namespace; } apply(compiler) { compiler.hooks.compilation.tap("EvalDevToolModulePlugin", compilation => { new EvalDevToolModuleTemplatePlugin({ sourceUrlComment: this.sourceUrlComment, moduleFilenameTemplate: this.moduleFilenameTemplate, namespace: this.namespace }).apply(compilation.moduleTemplates.javascript); }); } } module.exports = EvalDevToolModulePlugin;
Version data entries
28 entries across 27 versions & 9 rubygems