Building takes too long


#1

Building and rebuilding reaction had become unbearable.

I know reaction has a build performance issue, but is it normal that building and rebuilding takes more than 4 minutes? (I’m using a Macbook Pro 2015 with 8 GB Ram and 2.7 GHz Intel Core i5)

Thanks!


#2

When I run meteor with profiler, I found out that the following are the slowest processes -

1. Babel Compile :

Babel.compile…306,181 ms


2. prepareProjectForBuild Method :

ProjectContext prepareProjectForBuild…208,197 ms (1)
| ├─ _downloadMissingPackages…756 ms (1)
| │ ├─ Isopack.readMetadataFromDirectory…337 ms (133)
| │ │ └─ files.readFile 280 ms (133)
| │ └─ other _downloadMissingPackages 419 ms
| └─ _buildLocalPackages 207,337 ms (1)

please help :confused::confused::confused: