VSCodeMinify
VSCodeMinify copied to clipboard
Set default output folder
Hello,
would it be possible to set a default output folder for minified files?
I mostly edit remote files which are then located at C:\Users\Thomas\AppData\Local\Temp\...\awesome\long\path\
and I'd love to just grab it from a predefined folder. (As long as #14 is not implemented =) )
Hello,
There's a comment on Default Config as follows:
// Minify file on save if a related (.min.[ext]) file already exists. Includes directory minification/ "minify.minifyExistingOnSave": false,
I'm interested in that part that says Includes directory minification/
.
I've tried creating a directory called minification within the JS and CSS folders respectively but I can't seem to make it work.
Where should this folder be positioned? @HookyQR
Minify directory is a command. With a file open, you can minify the whole of the files in that directory to a single file, files are read in alphabetical order. Output will be in folder.min.js
.
Hello Is it possible to set (in settings) a specific path where the minified files will be generated ?
@HookyQR I might be missing something but I haven't seen any concrete answers.
I have my CSS saved in its own folder. (My FTP program ignores it and only uploads the "css" folder with the final minified file) I want to have my my minified css file saved to a different folder. How is this accomplished?
minify.css{
root: "${workspaceRoot}/css"
}
Does not output my minified file to the "css" folder. It outputs the minified file to the same exact folder my current css file is already located in.