Visual Studio 2015上的JavaScript捆绑 [英] Javascript Bundling on visual studio 2015

查看:67
本文介绍了Visual Studio 2015上的JavaScript捆绑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

System.Web.Optimization给了我们关于javascript文件的捆绑,其中最好的部分是允许我们处理单个文件或根据需要将它们捆绑在一起.这让调试变得很快乐 现在在 Visual Studio 2015 上,我们有了强大的功能和Task Runner,我可以对其进行打包和缩小,但是在绑定的js和原始文件之间进行切换很痛苦

System.Web.Optimization on Visual Studio 2013 was giving us Bundling on javascript files and the best part of that was allowing us to go with individual files or bundle them as we want. it was making debugging a joy now on Visual Studio 2015 we have the grunt and Task Runner, allow me to bundle and minified but switching between bundled js and original files is just pain

有人能在VS 2015上使用优化捆绑解决方案吗?

is anybody has a solution to use Optimization bundling on VS 2015

谢谢

推荐答案

在VS2015中,ASP.NET 5.0应用程序将无法使用旧式的优化捆绑包:

The old style optimization bundling will not be available in VS2015 for ASP.NET 5.0 applications: https://github.com/aspnet/Home/issues/134

这篇关于Visual Studio 2015上的JavaScript捆绑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆