生产中的GWT源地图 [英] GWT source maps in production
本文介绍了生产中的GWT源地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何启用它们?
解决方案
GWT自己的网站如何做到这一点: https://gwt.googlesource.com/gwt-site-webapp/+/master/src/main/java/com/google/gwt/site/webapp/GWTProject。 gwt.xml ,特别是 includeSourceMapUrl
配置属性。
请注意 -saveSource
也传递给GWT编译器。
GWT supports source maps in super dev mode. Unfortunately, they seem not to work in production mode, despite the fact that I added source maps option to my *.gwt.xml file.
How to enable them there?
解决方案
Have a look at how this is done for GWT's own website: https://gwt.googlesource.com/gwt-site-webapp/+/master/src/main/java/com/google/gwt/site/webapp/GWTProject.gwt.xml, specifically the includeSourceMapUrl
configuration property.
Note that -saveSource
is passed to the GWT compiler too.
这篇关于生产中的GWT源地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文