Open stanleyblade opened 3 years ago
Hey @stanleyblade!
Well, there is no HTML minifier at the moment. But after I added a HTML minifier, it will be easy to implement something like you mentioned.
But there should be a more generic solution, some kind of pre or post filtering. In your case this will have the same effect.
That's why I will let this ticket opened, so I do not forget it ;)
Oh that is brilliant, looking forward to it :)
I had an idea for an alternative option of creating a .bat file with a find and replace .min files. I think a .bat file will be easier for me to work in the mean time, hopefully. Thanks for the reply.
Great idea! This is more easy to implement. But I must have a look how I can do this. I think about an action that can be called after the minifcation process --a post action. This action can be a single executable or some JavaScript code that gets called. But It must be easy to define such action.
I would like to remove all references to "https://websiteaddress.com" but only in the minified file. Basically i want to run a find and replace on the minified file. This should automatically find and replace on save.
I only know html and css, but I came across inline-parameters.
Here is my best guess for what to put at the top of each page in atom (doesn't work), any help would be much appreciated:
/* minifyOnSave, scan(https://websiteaddress.com, replace) */