Topic "Auto minify js and css files on upload"

Author Message
[View user's profile]

Joined: 2015-07-09
Posts: 1
Location: United States
It'd be awesome if there was an option to toggle on and off auto minify js and css files on upload.

So basically all I have to do is drag and drop the files for upload and it automatically minifies the css and js files and puts them on the server. This way the files on the server would always be minified.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27086
Location: Prague, Czechia
You can create a local custom command that minifies the js/css and upload the result.

I may try to write a sample code.
What tool do you use to minify the js/css?

Actually I just did it with incrond inotify on my server but thank you for the amazing response though!

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License