Skip to content

Redirects broken for some users #162

Closed

Description

@nicolo-ribaudo

Hi,

We have recently started to receive many complaints about the Babel REPL (https://babeljs.io/repl) being broken. I have investigated and found that it is a bug with unpkg.

The problem is that, for some users, https://unpkg.com/[email protected] redirects to https://unpkg.com/[email protected]/index.js even if package.json specifies "main": "babel.js". Note that I have not been able to reproduce the issue; it correctly redirects to https://unpkg.com/[email protected]/babel.js for me.

Ref: babel/website#1901 (comment), babel/babel#9223

Activity

  1. jgravois commented on Dec 31, 2018

    @jgravois
    Contributor

    duplicate of #156

  2. nicolo-ribaudo commented on Jan 1, 2019

    @nicolo-ribaudo
    Author

    That issue has been closed as fixed, but the problem is still present.

  3. mjackson commented on Jan 2, 2019

    @mjackson
    Member

    I re-opened #156. Let's follow up there.

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

      Issue actions