Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

imports paths and redirects #8

Open
markbrown4 opened this issue Mar 11, 2018 · 1 comment
Open

imports paths and redirects #8

markbrown4 opened this issue Mar 11, 2018 · 1 comment

Comments

@markbrown4
Copy link

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/[email protected]/lodash.js'
https://lodash-in-the-browser-vxldnvahwg.now.sh

@markbrown4 markbrown4 changed the title Does import loading support Redirects imports paths and redirects Mar 11, 2018
@guybedford
Copy link
Member

Yes this is a bug between the implementations. For SystemJS this is being tracked here - systemjs/systemjs#1754 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants