Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/queuepro/node_modules/laravel-mix/src/tasks/ drwxrwxr-x | |
| Viewing file: Select action/file-type: let Task = require('./Task');
let FileCollection = require('../FileCollection');
const { FileGlob } = require('./FileGlob');
const File = require('../File');
/**
* @extends {Task<{ src: string|string[], output: File, babel: boolean, ignore?: string[] }>}
*/
class ConcatenateFilesTask extends Task {
/**
* Run the task.
*/
run() {
return this.merge();
}
/**
* Merge the files into one.
*/
async merge() {
const files = await FileGlob.expand(this.data.src, {
ignore: this.data.ignore || []
});
this.files = new FileCollection(files);
return this.files
.merge(this.data.output, this.data.babel)
.then(this.assets.push.bind(this.assets));
}
/**
* Handle when a relevant source file is changed.
*/
onChange() {
return this.merge();
}
}
module.exports = ConcatenateFilesTask;
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.004 ]-- |