This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
imports paths and redirects #8
Open
Description
I noticed a difference between the native loading and this polyfill when importing from a route that redirects.
import _ from 'https://unpkg.com/lodash-es'
https://lodash-in-the-browser-vwtxyusbpk.now.sh
That results in 404's for some import paths.
When I link to the module directly everything resolves correctly.
import _ from 'https://unpkg.com/lodash-es@4.17.7/lodash.js'
https://lodash-in-the-browser-vxldnvahwg.now.sh
Activity
[-]Does import loading support Redirects[/-][+]imports paths and redirects[/+]guybedford commentedon Mar 12, 2018
Yes this is a bug between the implementations. For SystemJS this is being tracked here - systemjs/systemjs#1754 (comment).