On Dec 3, 11:16 am, Martin Trummer <[email protected]> wrote: > when using GWT together with 3rd party libs, you sometimes get really > huge css files. > > would it be possible to use some mechanism like the i18n constants for > css classes and styles, so that the css-classnames could be shortened/ > obfuscated? > Not only would it decrease filesize (like zipping the response), we > could use interfaces to refer to the css-style names and thus gain > compile time checks. > > any thoughts?
What you describe is *exactly* what ClientBundle/CssResource does in GWT 2.0. It's an evolution of ImmutableResourceBundle/CssResource from the GWT Incubator, which can be used in previous versions of GWT (1.7, at least) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
