Trying to get smaller bundle I've changed all rxjs imports in my project to new recommended syntax. I import static methods like interval directly from rxjs
package, and pipeable operators from rxjs/operators
.
I followed the official instruction and included path-mapping and enabled module concatenation in my webpack config.
Still I see no significant change in bundle size. webpack-bundle-analyzer
gives the following picture:
On the left there are modules which are really imported in my project. But what is that operators thing on the right? It is about the same size as the separate modules size. Looks like it duplicates those modules, but in concatenated form.
Is this necessary for my bundle? If not, how to remove it?