jspm / generator

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

Possible determinism fix for require / import #86

Closed guybedford closed 2 years ago

guybedford commented 2 years ago

This fix uses the logic that the require condition should always beat the import condition when both are resolved for the same scoping.

An alternative fix could be to rescope the parent specifically, and that fix would follow a similar code path.

@vovacodes perhaps you can verify if this works for you further?

vovacodes commented 2 years ago

Testing it

vovacodes commented 2 years ago

@guybedford could you please publish this fix?

guybedford commented 2 years ago

@vovacodes released in 1.0.0-beta.19.