Open la3el opened 2 years ago
Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!
Im thinking in same feature, but with entering the path, a lot time ago I used this extension : https://github.com/olback/es6-css-minify/tree/3.0 and have the feature, may be can help to make this feature.
The save path option (I can't remeber the exact name) in settings.json was a string, relative to saved file, and the folder tree needs to exist. Hope can help :)
π Feature Request
Is your feature request related to a problem? Please describe.
... when before and after compression needs to change paths manually. As an example: I have an index.html and a style.css file I'm working with... Before I upload them to the server I want to compress them, but then I either need to link to CSS before compressing the HTML file Change style.css to style.min.css or manually delete the ".min" from style.min.css after compression. And for the HTML file, delete ".min" from index.min.html in the same way after compression...
PS: sorry for the google translation :D
Describe the solution you'd like
It would be much more practical if the compressed files were output to a different folder, for example "dist". Best of course, without appending "-min" or ".min". Then you don't have to change anything manually anymore and you have the compressed files in one folder and the original and legible files somewhere else...
Describe alternatives you've considered
No alternatives! Actually, the solution is far too simple: when compressing, a small if query such as if a "dist" folder exist, save the compressed file in there. Otherwise create a folder "dist" and save in there.
"dist" as an example
Additional context
I just installed VSCode two days ago and the same day I installed this extension. The extension is great! Easy to use and supports HTML, CSS, JavaScript and PHP. The only annoying thing is changing the paths and/or file extensions manually.
Unfortunately, I'm too inexperienced to write an extension myself or to change existing extensions.
To expedite issue processing please search open and closed issues before submitting a new one. Please read our Rules of Conduct at this repository's
.github/CODE_OF_CONDUCT.md
I've searched as best I can (on the Internet in general, here and also in the settings of the extension) and unfortunately haven't found anything.
It could well be that I missed the solution or option because of my mediocre to bad English... In that case, a big sorry!