Skip to content

Update sourcemap in JSDelivr #675

Closed
Closed

Description

@wearhere

Could you folks update your sourcemap in JSDelivr? I consistently see the error at bottom, and I think that's causing the top error too:

raven sourcemaps

Activity

  1. mattrobenolt commented on Aug 4, 2016

    @mattrobenolt
    Contributor

    jsdeliver is definitely failing to do the right thing. They're missing a file in reference in the sourcemap. At least, that's what I'm assuming the issue is.

    Either way, I'm not sure how this is an issue. What is cdn.jsdelivr.net/g/bundle.map and how does that relate? Typically these errors are just fine. It doesn't break anything, you just can't browse the unminified source in your debug console. But it won't affect any production applications.

    Also worth noting, that I didn't even know jsdeliver existed until just now. We don't maintain this and this is the first I've heard of it existing.

    The only issue I can see is that they're missing the file https://cdn.jsdelivr.net/raven/3.3.0/raven.js to go with https://cdn.jsdelivr.net/raven/3.3.0/raven.min.js.map

  2. mattrobenolt commented on Aug 4, 2016

    @mattrobenolt
    Contributor

    I've opened an issue up over at JSDeliver to see what they can do about it.

  3. wearhere commented on Aug 4, 2016

    @wearhere
    Author

    Thanks for looking into it @mattrobenolt! JSDelivr is a popular CDN. I assumed that you guys had uploaded Raven there but I realize now that I got confused about the contributors while hopping between their repo and here. The error doesn't break anything, it's just annoying in our console :)

  4. benvinegar commented on Nov 12, 2016

    @benvinegar
    Contributor

    Since we don't control JSDeliver, I'm going to close this issue.

    We strongly recommend using the official Raven.js CDN.

  5. wearhere commented on Nov 12, 2016

    @wearhere
    Author

    Fair enough @benvinegar. The only thing that's nice about JSDelivr is that you can bundle different scripts together. For instance

    <script src="//cdn.jsdelivr.net/g/jquery@2.1.4,underscorejs@1.8.3,raven@3.3.0"></script>

    fetches jQuery, Underscore, and Raven altogether. This saves on bandwidth by compressing the scripts together.

  6. mattrobenolt commented on Nov 12, 2016

    @mattrobenolt
    Contributor

    @wearhere see jsdelivr/jsdelivr#13078 which has been open for over 3 months now. Again, there's nothing more we can do here on our side since we don't control JSDelivr.

  7. wearhere commented on Nov 13, 2016

    @wearhere
    Author

    Oh I know, I wasn't complaining. Thanks again for your research here. I was just explaining why someone might choose to use JSDelivr vs. the official CDN, I agree it would be nice to follow the official recommendation.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions