Minifying you javascript code

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.

  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".

Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!

Minifying you javascript code

Postby Rony » Wed Feb 07, 2018 3:24 pm

Hi,

Is it possible to add an option to 'minify' your javascript code in WeBuilder right from the editor ?

Thanks,
Rony
Rony
 
Posts: 8
Joined: Wed Jan 17, 2018 1:34 pm

Re: Minifying you javascript code

Postby pmk65 » Thu Feb 08, 2018 12:15 pm

It could be done using a plugin that calls a Nodejs module. Similar to my CSSComb and Beautifier plugins.

I cloned my CSSComb plugin and changed the code to call uglifyjs (a nodejs module for minifying javascript)
If you want to beta test it, I can send you a download link.
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Minifying you javascript code

Postby Rony » Fri Feb 09, 2018 10:59 am

You can always send me the link if you want.

Thanks
Rony
 
Posts: 8
Joined: Wed Jan 17, 2018 1:34 pm


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests

Who is online

Users browsing this forum: No registered users and 9 guests