Josee9988 / MinifyAllCli

πŸ“¦ A lightweight, simple and easy npm tool to π—Ίπ—Άπ—»π—Άπ—³π˜† JSON/C, HTML and CSS! Also known as MinifyAll core! ⭐ Usable as π‘ͺ𝑳𝑰 tool or π’Šπ’Žπ’‘π’π’“π’•π’‚π’ƒπ’π’† in TS/JS as a 𝑴𝑢𝑫𝑼𝑳𝑬 πŸ₯°
https://minifyall.jgracia.es/
BSD 3-Clause "New" or "Revised" License
25 stars 5 forks source link

Do not append filenames with '-min' by default. #34

Closed lenart91 closed 4 years ago

lenart91 commented 4 years ago

A suffix ("-min") is appended to filenames by default, even if an empty string is passed (-s ""). Therefore, output files cannot have an empty suffix.

This PR makes the suffix argument an 'opt-in' feature, by defaulting it to a blank string (""), instead of "-min".

Josee9988 commented 4 years ago

Hi @lenart91

Thanks for the PR I highly appreciate it.

I really do think you are right and the default suffix should be an empty string.

I will merge it tomorrow as I have to check and deploy the CLI to npm.

Thanks for your support and stay tuned!

lenart91 commented 4 years ago

Great, thanks for your efforts!