All Questions
Tagged with internet-explorer-11 babeljs
89
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, ...
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 ...
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 ...
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/{...
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 ...
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-...
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 ...
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 ...
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 ...
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 ...
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 = `__${...
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 ...
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 ...
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 {
...