You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@guybedford Do you know/remember how to reproduce this? Setting "resolutions" on the generator options seems to work fine for me for top-level installs, secondary installs, and linking. For instance, this works:
letgenerator=newGenerator({mapUrl: import.meta.url,env: ["production","browser"],resolutions: {semver: "6.2.0",},});awaitgenerator.install("semver@latest");letjson=generator.getMap();assert.ok(json.imports["semver"]);assert.ok(json.imports["semver"].includes("6.2.0"));// passes fine
We need to ensure
"resolutions"
apply for top-level installs, these still seem to be getting missed somehow.The text was updated successfully, but these errors were encountered: