Open Drey1 opened 1 year ago
aha. That'd be neat, I agree. I'll think of something, by the end of this month, probably an update.
I'm a bit busy these days, so, it'll be a stretch, but I'll update it by this month.
make this feature as optional, not by default,
aye. I'm sorry, but my exams are currently going on, so it'd take a bit more time to publish an update for it. I did not have any time to modify it. I'll try to update on 16th of December.
@Drey1 I did try to implement it. But given that each file gets saved one at a time and are considered independent of each other, it is not actually possible to copy the whole tree as simple as you mentioned in the example above, it's not feasible as there is no upper bound on how far back I should take as the common point for inserting the 'min' folder, given that they are all independent of each other. @owhs made a good edit, unfortunately, it didn't run when I debugged the extension. Until I can think of a way to implement this, I'm putting this on hold.
Any suggestions or techniques are very welcomed.
Hello! I am writing to propose a function, that when you have a project and activate minify you have this file tree:
And get the minified version by copying the project tree, minifying the files to upload directly to the hosting -->
(these would already be minified, all in ./min)
I think it could be very useful and I can't find any extension that performs this action. And so when you save the original file, its minified version located in /min is automatically updated by copying the directory structure.
All the best!