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 dc5232f commit de4b441Copy full SHA for de4b441
packages/repl/src/lib/workers/bundler/index.ts
@@ -294,7 +294,7 @@ async function get_bundle(
294
295
let default_version = 'latest';
296
297
- if (importer.startsWith(packages_url)) {
+ if (importer?.startsWith(packages_url)) {
298
const path = importer.slice(packages_url.length + 1);
299
const parts = path.split('/').slice(0, 2);
300
if (!parts[0].startsWith('@')) parts.pop();
0 commit comments