Is the entirety of PrimeNG imported when you use it, or is it tree shaken? How can I determine it by myself?
问题 I am looking at optimizing a work Angular project and we're currently looking at how we are using PrimeNG. The Tree Shaking section on Webpack's documentation (https://webpack.js.org/guides/tree-shaking/) says that it relies on the ES2015 module format to determine what code can be pruned away, since CommonJS cannot be statically analyzed. So, I assume that the Angular compiler has the same limitation since it uses Webpack on the build process. That being said, I was looking at PrimeNG's