Open terrywarwar opened 8 years ago
We can exclude files which are never necessary (such as these), but we don't have a way today of treeshaking only the files which are needed. It is pretty much impossible unfortunately since you could dynamically add css files or html imports in your code, and its not realistic to try and track that.
Also it should be noted all these extra files will only be deployed to your server, not the end user, so the impact is relatively minimal.
I can see that the paper_elements used in the application are included the build index.html including the comments. Do these files need to also be deployed?
Noticed "*.test" files being included in build. Can these be removed also when doing a release build. Is there anyway to build and deploy only the files needed by the user?