We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be6e3a6 commit 14edd76Copy full SHA for 14edd76
packages/repl/src/lib/workers/bundler/index.ts
@@ -291,7 +291,7 @@ async function get_bundle(
291
const pkg_url =
292
pkg_name === 'svelte'
293
? `${svelte_url}/package.json`
294
- : `${packages_url}/${pkg_name}/package.json`;
+ : `${packages_url}/${pkg_name}@${match[2] ?? 'latest'}/package.json`;
295
const subpath = `.${match[3] ?? ''}`;
296
297
// if this was imported by one of our files, add it to the `imports` set
0 commit comments