EmulatorJS/data/minify/README.md

35 lines
525 B
Markdown
Raw Normal View History

2022-05-16 16:45:45 +00:00
2022-05-16 18:51:33 +00:00
# Minifying
2022-05-16 16:45:45 +00:00
2022-05-16 18:51:33 +00:00
Before pushing the script files onto your production <br>
server it is recommended to minify them to save on <br>
load times as well as bandwidth.
2022-05-16 16:45:45 +00:00
2022-05-16 18:51:33 +00:00
<br>
2022-05-16 16:45:45 +00:00
2022-05-16 18:51:33 +00:00
## Requirements
2022-05-16 16:45:45 +00:00
2022-05-16 18:51:33 +00:00
- **[NodeJS]**
<br>
## Steps
1. Open a terminal in`/data/minify`.
2. Install the dependencies with:
```sh
npm install
```
3. Start the minification with:
```sh
node index.js
```
<!----------------------------------------------------------------------------->
[NodeJS]: https://nodejs.org/en/download/