In GWT 2.0 CssResource, how I can turn off obfuscation for all my css classes?

后端 未结 4 1264
感动是毒
感动是毒 2021-02-12 11:52

I have a CssResource where I want to have some of the css classes \"mapped\" to methods:

@ClassName(\"top-table\")
String topTable();

But I wan

4条回答
  •  南笙
    南笙 (楼主)
    2021-02-12 12:25

    To disable obfuscation for all of you legacy classes at once, you can exploit what is said here

    In short, in the legacy css file, which you are binding using CssResource bundle, put this declaration: @external .*;

    All the classes in the file that has this declaration file will not be obfuscated.

提交回复
热议问题