mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 10:56:30 +00:00
9c0dc51aa0
Co-authored-by: Allan Niles <74841470+allancoding@users.noreply.github.com> Co-authored-by: ElectronicsArchiver <85485984+ElectronicsArchiver@users.noreply.github.com> Co-authored-by: GreyHope <hello@greyhope.uk>
35 lines
No EOL
525 B
Markdown
35 lines
No EOL
525 B
Markdown
|
||
# Minifying
|
||
|
||
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.
|
||
|
||
<br>
|
||
|
||
## Requirements
|
||
|
||
- **[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/ |