Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/inventory.picotech.app/public_html/node_modules/adjust-sourcemap-loader/lib/ drwxr-xr-x | |
| Viewing file: Select action/file-type: 'use strict';
var path = require('path');
var loaderUtils = require('loader-utils');
var process = require('./process');
/**
* Webpack loader that manipulates the source-map of a preceding loader.
* @this {object} The loader context
* @param {string} content The content
* @param {object} sourceMap The source-map
* @returns {string|String}
*/
function loader(content, sourceMap) {
/* jshint validthis:true */
// loader result is cacheable
this.cacheable();
// webpack 1: prefer loader query, else options object
// webpack 2: prefer loader options
// webpack 3: deprecate loader.options object
// webpack 4: loader.options no longer defined
var options = Object.assign(
{},
this.options && this.options.adjustSourcemapLoader,
loaderUtils.getOptions(this),
{sep: path.sep}
);
// process the source-map
var outputMap = process(this, options, sourceMap);
// need to use callback when there are multiple arguments
this.callback(null, content, outputMap);
}
module.exports = loader;
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0042 ]-- |