GWT source maps in production

我们两清 提交于 2019-12-12 14:55:11

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/28890701/gwt-source-maps-in-production

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!