first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

36
build/node_modules/webpack-core/lib/RawSource.js generated vendored Normal file
View File

@@ -0,0 +1,36 @@
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var Source = require("./Source");
var SourceNode = require("source-map").SourceNode;
var SourceListMap = require("source-list-map").SourceListMap;
function RawSource(value) {
Source.call(this);
this._value = value;
}
module.exports = RawSource;
RawSource.prototype = Object.create(Source.prototype);
RawSource.prototype.constructor = RawSource;
RawSource.prototype.source = function() {
return this._value;
};
RawSource.prototype.map = function(options) {
return null;
};
RawSource.prototype.node = function(options) {
return new SourceNode(null, null, null, this._value);
};
RawSource.prototype.listMap = function(options) {
return new SourceListMap(this._value);
};
RawSource.prototype.updateHash = function(hash) {
hash.update(this._value);
};