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 9062ef1 commit 34a53cdCopy full SHA for 34a53cd
packages/repl/src/lib/workers/bundler/index.ts
@@ -209,10 +209,8 @@ async function get_bundle(
209
}
210
211
if (current) {
212
- const path = new URL(importee, importer).href.replace(
213
- `${NPM}/${current.meta.name}@${current.meta.version}/`,
214
- ''
215
- );
+ const { name, version } = current.meta;
+ const path = new URL(importee, importer).href.replace(`${NPM}/${name}@${version}/`, '');
216
217
return normalize_path(current, path);
218
0 commit comments