jspm / generator

JSPM Import Map Generator
Apache License 2.0
167 stars 21 forks source link

Only extract staticDeps, dynamicDeps on finishInstall #107

Closed guybedford closed 2 years ago

guybedford commented 2 years ago

Install finish is the only operation that has the final version resolution solution, so only at this stage should we be extracting the staticDeps and dynamicDeps lists, otherwise there is a risk of using an intermediate resolution that would have been orphaned by an alternate resolution.

guybedford commented 2 years ago

This is added in https://github.com/jspm/generator/pull/134.