shell bypass 403
GrazzMean-Shell Shell
: /proc/self/root/home/allssztx/www/easybuyer/node_modules/laravel-mix/src/components/ [ drwxr-xr-x ]
let Preprocessor = require('./Preprocessor');
class Stylus extends Preprocessor {
/**
* Required dependencies for the component.
*/
dependencies() {
return ['stylus', 'stylus-loader'];
}
/**
* Register the component.
*
* @param {*} src
* @param {string} output
* @param {Object} pluginOptions
* @param {Array} postCssPlugins
*/
register(src, output, pluginOptions = {}, postCssPlugins = []) {
pluginOptions = Object.assign(
{
preferPathResolver: 'webpack'
},
pluginOptions
);
return this.preprocess(
'stylus',
src,
output,
pluginOptions,
postCssPlugins
);
}
}
module.exports = Stylus;