Skip to content
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
@markbrown4

Description

@markbrown4

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

changed the title [-]Does import loading support Redirects[/-] [+]imports paths and redirects[/+] on Mar 11, 2018
guybedford

guybedford commented on Mar 12, 2018

@guybedford
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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @markbrown4@guybedford

        Issue actions

          imports paths and redirects · Issue #8 · ModuleLoader/browser-es-module-loader