简体   繁体   中英

Minify all JS files in nested folder structure of Visual Studio

I am looking for a solution to minify all the JS files (in a deep nested folder structure) in one go by either using visual studio extension or may be through command line.

Thoughts?

Thanks!

you should use glob patterns, suppose you have

outter-folder/inner-folder/inner-inner-folder

than, in the src of the minifyer you should type:

outter-folder/**/*.js and all the outter-folder's subfolders and sub-subfolder's js files are going to be minified

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM