Riley Lark
Riley Lark

Reputation: 20890

Is there a way to set GWT to include style names in the compiled names?

I use CssResource extensively, and now my generated html is full of GWXSHFKADAish class names. I get all of the advantages of that, but for debugging it'd be helpful to add a flag that would turn .selected into GWXSTY_selected. Is there any way to do this?

Upvotes: 0

Views: 320

Answers (1)

Chris Lercher
Chris Lercher

Reputation: 37778

When you set

<set-configuration-property name="CssResource.style" value="pretty"/>

in your .gwt.xml file, then the resulting class names will contain the original class name.

Upvotes: 5

Related Questions