协调ASP.NET脚本包和源地图 [英] Reconciling ASP.NET script bundles and source maps

查看:80
本文介绍了协调ASP.NET脚本包和源地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法来设置默认的 System.Web.Optimization.ScriptBundle 生成的来源地图的捆绑和缩小的文件?是否有一个等效的解决方案,其他的不必pre-生成包和源地图前,各建?

Is there any way to set up the default System.Web.Optimization.ScriptBundle to generate source maps for the bundled and minified files? Is there an equivalent solution, other than having to pre-generate the bundles and source maps before each build?

推荐答案

它看起来像在其间的某种灵魂已经发布了一个定制的类,它正是我需要的。

It looks like in the meantime some kind soul has released a custom class that does exactly what I need.

您可以在<一个得到他的源href=\"https://github.com/benmccallum/AspNetBundling\">https://github.com/benmccallum/AspNetBundling.

这篇关于协调ASP.NET脚本包和源地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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