Does anyone know of a good way to minify all js, css, etc. files as part of the publish process? I’m thinking, run a batch file that fires jmin? But not sure how to go about this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use the .net ClientDependancy Framework to do this
Update
You start out by defining paths to the directories which contain the resources to manage, something like this:
You then specify the files to manage in JS or CSS includes:
Don’t forget to register the control at the top of the file: