asp.net mvc - How to automatically convert my Custom javascript file to minified version -
i have custom javascript file project. have read should use minified version because it's efficient. everytime make change in custom.js file, go online tool convert new custom.js file , delete old minified custom js file project , replace new one(minified one). there way handle situation. kindly note in no in project referring actual custom.js file. have added reference minified version.
ide: visual studio community edition free (2017)
bundling , minification default feature mvc4. need implement in bundle config file.
bundletable.enableoptimizations = true;
detailed document here. please follow.
Comments
Post a Comment