Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading urn.js on IE 11 #29

Closed
dobladov opened this issue May 3, 2018 · 1 comment
Closed

Error loading urn.js on IE 11 #29

dobladov opened this issue May 3, 2018 · 1 comment

Comments

@dobladov
Copy link

dobladov commented May 3, 2018

Error SCRIPT1014: Invalid character on Internet Explorer 11 with file /uri-js/dist/esnext/schemes/urn.js

screenshot from 2018-05-03 14-00-43

Using Webpack "^4.6.0"

.babelrc

{
  "presets" : [
    ["env", {
      "targets": {
        "browsers": ["last 2 versions", "ie >= 11"]
      }
    }],
  ]
}
@garycourt
Copy link
Owner

garycourt commented May 25, 2018

Please use the ES5 version of uri-js at /uri-js/dist/es5/uri.all.js with IE11.

If this is occurring while using Webpack, then upgrade to version uri-js@^4.2.2.

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

No branches or pull requests

2 participants