Skip to content

It doesn't work with jspm.dev #29

Open
@jesuslpm

Description

@jesuslpm

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/[email protected]';

jspm.dev returns the following:


import "/npm:jquery@3!cjs";
import "/npm:bootstrap!cjs";
export { default } from "/npm:[email protected]!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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions