Skip to main content

All Questions

1 vote
1 answer
106 views

Will webpack with babel es2015 preset fix closure issues on IE 11?

If I write a for loop using the let keyword to declare my loop variable, and I pass that variable to a for(let x=0;x<5;x++){ setTimeout(function(){console.log(x);},1000); } call, ...
Newclique's user avatar
  • 494
7 votes
1 answer
4k views

webpack with babel-preset-env "last 2 versions" with internet explorer

Maybe I am a little naive. The README on babel-preset-env https://github.com/babel/babel-preset-env says: A Babel preset that compiles ES2015+ down to ES5 by automatically determining the Babel ...
LongHike's user avatar
  • 4,364
1 vote
0 answers
738 views

Getting Vue to work with IE11 via Browserify and Babel 6

I'm having trouble getting a Vue site to work consistently in IE11. I'm currently trying to use browserify to transpile with Babel to ES5, but seemingly it isn't working consistently (it sometimes ...
user3163681's user avatar
0 votes
1 answer
2k views

Object doesn't support property or method 'matches' on Edge

I'm using gulp and babel to transcript ES6 into ES5. Here is my code: gulpfile.babel.js import gulp from 'gulp'; import babel from 'gulp-babel'; gulp.src([appDir + 'js/**/*.js', '!' + appDir + 'js/{...
quarky's user avatar
  • 748
0 votes
2 answers
4k views

Syntax error in IE11 with vue.js, webpack and babel

I'm trying to get a demo to work and it works fine in Chrome but fails in IE11. The syntax error is related to an eval() but is only an issue with IE11. An example of the issue can be seen here (view ...
Mark Tolson's user avatar
24 votes
2 answers
38k views

Syntax error in IE11 with Webpack, Babel and React

I'm getting a Syntax Error in my React + Redux project in Internet Explorer 11, but I have no idea why it's caused. I'm using Webpack and Babel to compile it. I tried using babel-polyfill and babel-...
IWRichard's user avatar
  • 241
2 votes
1 answer
4k views

Error "SCRIPT 1028 Expected identifier, string or number" with IE11

I'm using Browserify to transpile my JS code to be sure the final code is compatible with most browsers, and all is working perfectly with Chrome and Firefox. But I'm using a package (dot-prop) that ...
Pragmateek's user avatar
  • 13.2k
2 votes
1 answer
6k views

Destructuring assignment not working in IE 11 even after using babel plugins

I have a situation where I am adding a middleware which contain destructing params When opened in google chrome ,its working fine .But it simply fails in internet explorer Here is my webpack config ...
simbathesailor's user avatar
2 votes
1 answer
1k views

IE11 Javascript behavior with polyfilled Function.name

I have run into a strange behavior in IE11 JavaScript JIT. Calling Function.name on Classes fails if it is called in the order of base class->child. If called in the child->base class order, it ...
Mike Taj's user avatar
0 votes
1 answer
674 views

Access static method from es6 class/webcomponents compiled with babel in IE 11

I'm develepping a custom js framework using es6 class and webcomponents. I'm trying to support IE11 by compiling my code with babel to es2015 and adding the webcomponents library. class baseControl ...
KANAX's user avatar
  • 275
3 votes
0 answers
429 views

Ember 1.12 does not work on IE11

I upgraded my Ember 1.08 web app to Ember 1.12. On 1.08 it worked on all browsers, but on 1.12, it does not work in IE11 anymore. I get SCRIPT1014 (invalid character) on: let CONTAINER = `__${...
user1532760's user avatar
0 votes
1 answer
3k views

How to use browser.js to solve es6 class issue in IE 11

I am using javascript classes and ran into the SCRIPT1002 issue in IE 11, where IE is unable to interpret the 'class' keyword that is available in es6. I have been reading that using babel is a way to ...
vector's user avatar
  • 199
9 votes
1 answer
13k views

how can I use babel polyfill to support all IE11 issues with gulp

I've been piecing together support for IE11 by adding plugins for transform-object-assign and array-includes and now I'm getting a symbol error for using for of loops. Instead of just tackling them ...
turbo2oh's user avatar
  • 2,867
0 votes
1 answer
3k views

Babel transpiled code does not support static methods in IE11

Babel transpiled js works fine, but on IE11 the static inheritance seems not to work. Any idea? class SuperClass { constructor () {} static test () {} } class Sub extends SuperClass { ...
Niels Steenbeek's user avatar

15 30 50 per page
1 2 3 4 5
6