A tool to minify HTML, CSS, and JavaScript files in a directory.
Clone the repository to your local machine:
git clone https://github.com/Spider-1998-Web/minify-project.git cd minify-project
Install dependencies using npm:
npm install
To minify files in the current directory and output them to the 'build' directory, run:
minify
To specify a different input directory, run:
minify path-to-input-directory
To install the tool globally, run:
npm install -g path-to-your-project
- html-minifier-terser
- csso
- terser
- copy-dir
This project is licensed under the ISC License. See the LICENSE file for details.