Thursday, January 19, 2017

Re: Using css autoprefixer with GWT

Thanks, that makes sense.

On Thursday, January 19, 2017 at 1:21:43 AM UTC-8, Jens wrote:

However, could you give and example of how calling autoprefixer programmatically inside resource generator would look like?

No, I have no idea about the autoprefixer API. In terms of GWT you would likely need to copy CssResourceGenerator and GssResourceGenerator and then add autoprefixer in the appropriate places.

But honestly, autoprefixer is a processing tool that should run outside GWT but before the GWT compiler runs. In GWT 3 there are no generators anymore so you would need to run it externally anyways. So you better find a good external solution instead of hacking GWT.

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment