How to Minify the Javascript
Can you please tell me how to minify the javascript? I have some changes in the script.
Replies (5)
You're welcome! If you have any more questions or if there's anything else I can help you with, feel free to ask.
Hi,
Open your terminal/command prompt.
Navigate to your project tools directory. Then use the following command to rebuild and minify your JavaScript:
yarn
gulp --prod For more information, please the documentation here;
https://preview.keenthemes.com/html/seven-html-pro/docs/getting-started/build/gulp
Thanks
I am using seven_html_pro_v1.1.4 ( I have purchased this version) . I have modified the src code javascript and i need compile it into assets folder. Can you please help me to how to minify the javascript?
Hi,
May I know which template and version are you using ?
Where did you modify the code ? In the source folder or assets folder ? By right the css/js code is modified in the src folder and compiled into assets folder with gulp or webpack builders as stated in the docs.
Regards.