Skip to content

IE11 Support #49

@mbeck-sans

Description

@mbeck-sans

Does the IE11 support mentioned at What You Need to Get Started apply to this repo?

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Contentstack IE11</title>
</head>
<body>
    <p>hi there!</p>
    <script src="proxy.php?url=https%3A%2F%2Fassets.contentstack.io%2Fv3%2Fassets%2Fblt23180bf2502c7444%2Fblt7c37c3a74961a31e%2F5f6db26872a0163a5b82a8d1%2Fcontentstack-v3.11.0.min.js"></script>
</body>
</html>

errors in IE11 with:

SCRIPT5007: Unable to set property 'Headers' of undefined or null reference
contentstack-v3.11.0.min.js (9,6715)

This error does not appear in v3.10.1. Is this change between v3.10.1 and v3.11.0 meant to be node-fetch for the client-side?

Changing to isomorphic-fetch/whatwg-fetch appears to make it pull in the correct client-side fetch polyfill.

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