jspm / generator

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

Fix bug when tracing/uninstalling the base package. #206

Closed Bubblyworld closed 1 year ago

Bubblyworld commented 1 year ago

Fixes #204. The bug is basically that when linking the base package itself, the only thing the tracemap does is record the base package as a pin. When you then try and load the resulting input map, the base package specifier is treated as a custom user override, since it maps to a filepath and the extraction algorithm doesn't know how to handle this.

Bubblyworld commented 1 year ago

Tests seem rather flaky - can't reproduce the failures locally on either v16 or v14 🤔