Files
meteor/tools
David Glasser 12eb34debd Ensure that Npm.strip is applied in all cases
An Isopack object can be created in one of two ways: by parsing a built
isopack from disk, or by compiling a PackageSource (which may or may not
get written to disk).

In the former case, its nodeModulesPath field will be something like
"npm/node_modules", referring to the node_modules directory inside the
built isopack, which has already had Npm.strip applied to it.

In the latter case, its nodeModulesPath field is actually the
pre-stripped node modules directory (eg '.npm/package/node_modules'). So
if we were to use such an Isopack object inside a bundler operation, we
would need to actually apply the strip operation at bundle time.

As far as I can tell it may not actually be possible to trigger this bug
yet, because for some reason we never quite seem to use the built
Isopack in bundler without cycling it through disk. But I've managed to
trigger it on the isopackets branch, and it's certainly a goal to use
our in-memory caches better (and not require unnecessary write/read
cycles).
2014-11-06 14:28:38 -08:00
..
2014-09-30 19:25:35 -07:00
2014-03-05 23:33:06 -08:00
2014-11-04 10:47:34 -08:00
2014-08-04 19:03:05 -07:00
2014-11-06 12:43:52 -08:00
2014-09-29 22:50:49 -04:00
2014-06-17 17:33:55 -07:00
2014-06-13 17:14:42 -07:00
2014-10-23 16:15:45 -07:00
2014-09-24 15:53:05 -07:00
2014-08-28 11:14:40 -07:00
2014-10-14 21:14:14 -07:00