Open neoromantic opened 6 years ago
So, I've added graphical-grapher to my meteor project, and if I understand this correctly, it gets right to production bundle.
It includes lodash and increases bundle by 100kb. I didn't even initialize it.
What can I do to make it conditional? Why it even gets to client bundle without me importing it anywhere?
Ah you are right! I have updated the package.js config file now so that it will only be initialized if you import it.
So, I've added graphical-grapher to my meteor project, and if I understand this correctly, it gets right to production bundle.
It includes lodash and increases bundle by 100kb. I didn't even initialize it.
What can I do to make it conditional? Why it even gets to client bundle without me importing it anywhere?