Sha256: 7d2253ada772b6c40bdc6677fe48f515ff6879b26cd8bb1a397fdbef88f33938
Contents?: true
Size: 664 Bytes
Versions: 11
Compression:
Stored size: 664 Bytes
Contents
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const NullDependency = require("./NullDependency"); const webpackMissingModule = require("./WebpackMissingModule").module; class UnsupportedDependency extends NullDependency { constructor(request, range) { super(); this.request = request; this.range = range; } } UnsupportedDependency.Template = class UnsupportedDependencyTemplate { apply(dep, source, outputOptions, requestShortener) { source.replace(dep.range[0], dep.range[1], webpackMissingModule(dep.request)); } }; module.exports = UnsupportedDependency;
Version data entries
11 entries across 7 versions & 4 rubygems