bundle-visualizer and I’m noticing it needs to be able to run
eval() which conflicts with following line of my
So to get
bundle-visualizer to work I have to comment out the above line. A simple solution is to just put a conditional around it but I can’t check for
Meteor.isProduction because the
--production flag must be passed for
bundle-visualizer to work.
Is there some other way to check for a package’s presence in code? Especially
bundle-visualizer? I’m having trouble locating it’s source code online. It’s not in the Meteor Github project.