Wednesday, September 21, 2016

Re: Vaadin GWT Polymer Elements adds about 5000 new files to the release

thank you. I was able to exclude a large number of them via the appengine-web.xml using exclusion filters: 

<exclude path="/*/bower_components/*/docs/*" />


thx for the quick reply. 


On Tuesday, September 20, 2016 at 5:27:14 PM UTC-4, zakaria amine wrote:
gwt-polymer-elements adds the bower_components for polymer which contains all the polymer elements to your module. It is added automatically because it is in the public folder in the package com.vaadin.polymer. One solution I can think of is to rebuild the library and exclude it from the jar. Check out this: https://github.com/vaadin/gwt-api-generator/blob/master/gulpfile.js, you get rid of the bower taks. Then, you can use a tool like vulcanize which allows to import only the polymer elements that you need in one file: https://www.polymer-project.org/1.0/docs/tools/optimize-for-production 



Le mardi 20 septembre 2016 19:31:33 UTC+2, Tony a écrit :

Anybody knows of a way to reduce the number of files? I'm asking because I'm deploying to appengine which has a limit of 10000 files per version, per release and with several GWT modules and locales I'm already going over the limit. 

Thank you
Tony

--
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