I am trying to reduce the weight of my angular 2 application.
I use typescript (1.8.10) and webpack (1.13) as bundles of modules.
I have included all my ts files. I turned on gzip compression on my server and now I want to use tree shake, but I did not find a loader or the like to use it in my project. I found the extension module loader, but I do not want to change my provider module (I think the web package is better for me).
Does anyone know how to use tree shake using a web package?
Thank!
source
share