minification-benchmarks icon indicating copy to clipboard operation
minification-benchmarks copied to clipboard

add minify-js and minifier-rs

Open SArpnt opened this issue 3 years ago • 2 comments

SArpnt avatar Jul 28 '22 00:07 SArpnt

@privatenumber minifier-rs doesn't seem to allow using stdin or stdout, it only takes input and output files. where do you suggest I store the temporary files to run the test? there's already handling for input files but the issue is that the output file can't be specified and is created next to the input file

SArpnt avatar Jul 28 '22 00:07 SArpnt

You can make a directory in $TMPDIR and remove it on completion:

const temporaryDirectory = path.join(fs.realpathSync(os.tmpdir()), 'minification-data');

privatenumber avatar Jul 30 '22 02:07 privatenumber

Hi, minify-js bas been added through #300

KuSh avatar Feb 16 '23 12:02 KuSh

thanks i dont get anything done

SArpnt avatar Feb 20 '23 22:02 SArpnt