It doesn't work with jspm.dev
Open
- 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.