Skip to content

esm: fix relative imports for https

This fixes imports using relative specifiers from within HTTPS source texts. Technically it also fixes data: but that scheme never allows relative specifiers anyway. Can also verify against a JS CDN using: node --experimental-network-imports -e 'import("https://jspm.dev/npm:lit-html@1.4.1/lib/template-factory.js")'.

This only 1/2 fixes JS CDN issues we have seen, a different one will be opened for redirects changing the resolution base URL for dependencies.

Merge request reports

Loading