egoist / egoist/import-http

It doesn't work with jspm.dev

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.2k
Forks
30
PR merge metrics
No merged PRs in 30d

Description

It seems that when an import doesn't include the host, it fall backs to https://unpkg.com, but it causes jpm.dev modules to fail.

for example, if you have the following:
```
import 'https://jspm.dev/bootstrap-confirmation2@4.1.0';
```

jspm.dev returns the following:
```

import "/npm:jquery@3!cjs";
import "/npm:bootstrap!cjs";
export { default } from "/npm:bootstrap-confirmation2@4.1.0!cjs";

```

It works on the browser. It downloads https://jspm.dev/npm:jquery@3!cjs. But import-http plugin tries to fetch https://unpkg.com//npm:jquery@3!cjs which fails.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.