* How to Make JavaScript min code (aaa.js -> aaa.min.js)
1) If not, install Node.js (https://nodejs.org/).
2) Run 'Command Prompt' (Windows).
3) Go to the folder that contains the JavaScript file.
4) Run 'npm init -y' in command line.
5) Install terser (run 'npm install terser')
6) Make min code (run 'npx terser -c -m -o aaa.min.js -- aaa.js')
7) Check the generated file.
Monday, July 8, 2019
Subscribe to:
Post Comments (Atom)
How to Make JavaScript min code (aaa.js -> aaa.min.js)
* How to Make JavaScript min code (aaa.js -> aaa.min.js) 1) If not, install Node.js ( https://nodejs.org/ ). 2) Run 'Command ...
-
* Capital One Costco Mastercard Payment (TD Bank) 1. Visit Capital One website https://www.capitalone.ca/ 2. Capital One webs...
-
* Canada TD Bank e-Transfer 1. Visit TD Bank website https://www.td.com/ca/en/personal-banking/ 2. TD Bank website 1) Click ...
-
* How to Make JavaScript min code (aaa.js -> aaa.min.js) 1) If not, install Node.js ( https://nodejs.org/ ). 2) Run 'Command ...
No comments:
Post a Comment