Herteby / graphical-grapher

Get an overview of all your Grapher links and Collection2 schemas, and create queries just by clicking (with live results)
MIT License
12 stars 2 forks source link

Production bundle size? #3

Open neoromantic opened 6 years ago

neoromantic commented 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?

Herteby commented 6 years ago

Ah you are right! I have updated the package.js config file now so that it will only be initialized if you import it.