在本地运行我的项目时,或者如果它在生产环境中运行,jawr 会压缩我的 javascript 文件,因此当我运行开发人员工具并尝试调试这些文件时,我只能查看压缩文件。我怎样才能使它可以查看原始的未压缩的 javascript 文件?
问问题
502 次
1 回答
0
从链接:
While running in production mode, you may view your bundles in debug mode by using jawr.debug.overrideKey. This can be very helpfull when you need to debug issues in a production environment. Simply append overrideKey=(jawr.debug.overrideKey value) to the end of the url. Now your production bundles will be exploded; but only for that request. You may also view individual css and js files by adding the overrideKey to the end of the request.
因此,为了在生产或本地进行调试,您可以将 overrideKey=debug 添加到 url 的末尾。
url.com/something?overrideKey=debug
于 2014-11-26T19:50:29.227 回答