When I remove packages from my .meteor/packages, the following top grosser decreases dramatically from 7.5s to 5 to 3, depending on the number of packages removed.
| ImportScanner#_findImportedModuleIdentifiers.............7,543 ms (5227)
I have at least 5 packages that I do not need in development (unless testing), and are only required on production. What’s the best way to have 2 .meteor/packages - one for development and one for production, apart from modifying my deploy script to comment those out?
.meteorIgnore IMO is to ignore certain folders/files during build process. If I put the packages in this file, they will never be added to the build, neither in dev nor prod.
Then I added this package meteor add xyz:xyz and decent improvement. Will try to dig out more on how to reduce the overall 60s that my app takes to build.